[libdispatch-dev] [PATCH] missing kqueue libs in testing/Makefile.am

Mario Schwalbe schwalbe at inf.tu-dresden.de
Tue Nov 17 08:20:27 PST 2009


Hi,

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.

Doesn't -L/path/to/libkqueue/libdir work as well? Of course, I could also
use LDFLAGS, since I only need the -L-part of $(KQUEUE_LIBS).
The -l-part is superfluous, as Robert pointed out.

So which variable is better?

ciao,
Mario

Index: testing/Makefile.am
===================================================================
--- testing/Makefile.am (Revision 166)
+++ testing/Makefile.am (Arbeitskopie)
@@ -81,4 +81,5 @@
 LDADD=libtest.la ../src/libdispatch.la
 CFLAGS=-Wall $(MARCH_FLAGS) $(CBLOCKS_FLAGS)
 CXXFLAGS=-Wall $(MARCH_FLAGS) $(CXXBLOCKS_FLAGS)
+LDFLAGS=$(KQUEUE_LIBS)




More information about the libdispatch-dev mailing list