[Openais] [PATCH] openais/trunk: stop linking against libdl that is not used

Fabio M. Di Nitto fabbione at fabbione.net
Tue Aug 12 21:56:12 PDT 2008


Hi,

simple patch as $subject. Nothing in openais uses libdl. Stop linking 
against it.

Fabio

--
I'm going to make him an offer he can't refuse.
-------------- next part --------------
Index: services/Makefile
===================================================================
--- services/Makefile	(revision 1627)
+++ services/Makefile	(working copy)
@@ -40,7 +40,7 @@
 LDFLAGS += -L./
 
 ifeq (${OPENAIS_COMPAT}, LINUX) 
-	override LDFLAGS += -ldl
+	override LDFLAGS += 
 endif
 
 ifeq (${OPENAIS_COMPAT}, SOLARIS) 
Index: Makefile.inc
===================================================================
--- Makefile.inc	(revision 1627)
+++ Makefile.inc	(working copy)
@@ -84,7 +84,7 @@
 #
 ifeq (${OPENAIS_COMPAT}, LINUX) 
 	override CFLAGS += -DOPENAIS_LINUX
-	override LDFLAGS += -ldl -lpthread
+	override LDFLAGS += -lpthread
 	override DYFLAGS += -rdynamic
 endif
 ifeq (${OPENAIS_COMPAT}, BSD)


More information about the Openais mailing list