[gnome-panel] build: list the objects before the libraries to fix build with --as-needed



commit 76dc5a00044de3076fe7117ff9944e4c5660e5ba
Author: Sebastien Bacher <seb128 ubuntu com>
Date:   Wed Nov 17 18:41:17 2010 +0100

    build: list the objects before the libraries to fix build with --as-needed

 applets/notification_area/Makefile.am |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/applets/notification_area/Makefile.am b/applets/notification_area/Makefile.am
index c70ce9a..70d3937 100644
--- a/applets/notification_area/Makefile.am
+++ b/applets/notification_area/Makefile.am
@@ -29,17 +29,18 @@ libtray_la_SOURCES =		\
 NOTIFICATION_AREA_SOURCES = main.c
 
 NOTIFICATION_AREA_LDADD =				\
+	libtray.la    				        \                               
 	../../libpanel-applet/libpanel-applet-3.la	\
 	$(X_LIBS)					\
 	$(NOTIFICATION_AREA_LIBS)			\
-	$(LIBPANEL_APPLET_LIBS)				\
-	libtray.la
+	$(LIBPANEL_APPLET_LIBS)
 
 testtray_SOURCES = testtray.c
 testtray_LDADD =			\
+	libtray.la			\
 	$(X_LIBS)			\
-	$(NOTIFICATION_AREA_LIBS)	\
-	libtray.la
+	$(NOTIFICATION_AREA_LIBS)
+
 
 if NOTIFICATION_AREA_INPROCESS
 APPLET_IN_PROCESS = true



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