On Mon, 16 Nov 2009, Mario Schwalbe wrote:
added libkqueue library variable to testing/Makefile.am.
In general, the testing tools don't directly depend on kqueue (with the exception of dispatch_cffd, which is not portable off of Mac OS X). Normally, libdispatch should depend on libkqueue, meaning that applications linked aginst libdispatch shouldn't need their own dependency declared unless they might use libkqueue but no libdispatch. If you run ldd on libdispatch as built on your system, does it not list libkqueue as a dependency in the same way it lists libpthread, etc? Robert N M Watson Computer Laboratory University of Cambridge
ciao, Mario
Index: testing/Makefile.am =================================================================== --- testing/Makefile.am (Revision 165) +++ 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) +LIBS=$(KQUEUE_LIBS)
_______________________________________________ libdispatch-dev mailing list libdispatch-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/libdispatch-dev