[unique] Bug 601689: Put linker flags in LDFLAGS and not in LDADD



commit 38a7ae84347b4832d3345e56c9cf54e2b1e92637
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date:   Thu Nov 12 14:36:27 2009 +0100

    Bug 601689: Put linker flags in LDFLAGS and not in LDADD

 unique/Makefile.am |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/unique/Makefile.am b/unique/Makefile.am
index e4f933f..6475a87 100644
--- a/unique/Makefile.am
+++ b/unique/Makefile.am
@@ -16,13 +16,6 @@ DIST_SUBDIRS = bacon dbus
 
 INCLUDES = -I$(top_srcdir)
 
-LDADD = \
-	-version-info $(UNIQUE_LT_VERSION_INFO)	\
-	-export-dynamic				\
-	-export-symbols-regex "^unique.*"
-	-rpath $(libdir)			\
-	$(NULL)
-
 AM_CPPFLAGS = \
 	-DG_DISABLE_SINGLE_INCLUDES	\
 	-DGTK_DISABLE_SINGLE_INCLUDES	\
@@ -99,7 +92,11 @@ libunique_1_0_la_LIBADD = 		\
 	$(UNIQUE_LIBS)			\
 	$(DBUS_LIBS)
 
-libunique_1_0_la_LDFLAGS = 		\
+libunique_1_0_la_LDFLAGS = 			\
+	-version-info $(UNIQUE_LT_VERSION_INFO)	\
+	-export-dynamic				\
+	-export-symbols-regex "^unique.*"	\
+	-rpath $(libdir)			\
 	-no-undefined
 
 DISTCLEANFILES += uniqueversion.h



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]