[libdispatch-dev] [PATCH] missing kqueue libs in testing/Makefile.am
schwalbe at inf.tu-dresden.de
Tue Nov 17 09:09:30 PST 2009
Peter O'Gorman schrieb:
> You should add -Wl,-rpath,/path/to/libkqueue/libdir or similar to
> LDFLAGS at configure time when building libdispatch. Or, of course, add
> the directory to the default loader search path in ld.so.conf.
Please ignore my previous mail. I finally realized that you meant the
library itself, not the whole project.
Using -Wl,-rpath,/libkqueuedir is a better solution then and adding
libdispatch_la_LDFLAGS=-Wl,-rpath,/libkqueuedir works, but how do we
extract the path from the $(KQUEUE_LIBS)?
I tried some make filter and replace magic but it's difficult as the
replacement text contains commas.
More information about the libdispatch-dev