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

Robert Watson robert at fledge.watson.org
Tue Nov 17 03:56:20 PST 2009


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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/libdispatch-dev
>



More information about the libdispatch-dev mailing list