[ekiga] Fix build with binutils-gold



commit 5b3c0c105b19c0cfde202cb3cf3ca12b689e43dd
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Wed Dec 22 10:04:59 2010 +0100

    Fix build with binutils-gold
    
    and reorder comopilation order...

 src/Makefile.am |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 29693b1..b3e2b9b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -58,16 +58,16 @@ nodist_ekiga_SOURCES =
 ekiga_SOURCES +=			\
 	gui/accounts.h    		\
 	gui/accounts.cpp		\
+	gui/assistant.h			\
+	gui/assistant.cpp		\
 	gui/callbacks.h			\
 	gui/callbacks.cpp		\
-	gui/conf.h			\
+	gui/conf.h				\
 	gui/conf.cpp			\
-	gui/assistant.h			\
-	gui/assistant.cpp		\
+	gui/default_devices.cpp	\
+	gui/default_devices.h	\
 	gui/main_window.h		\
 	gui/main_window.cpp		\
-	gui/default_devices.cpp		\
-	gui/default_devices.h		\
 	gui/preferences.h		\
 	gui/preferences.cpp		\
 	gui/statusicon.h		\
@@ -76,8 +76,8 @@ ekiga_SOURCES +=			\
 	gui/statusmenu.cpp
 
 # Endpoints
-ekiga_SOURCES +=				\
-	ekiga.h			                \
+ekiga_SOURCES +=			\
+	ekiga.h			        \
 	ekiga.cpp
 
 # resources
@@ -157,6 +157,10 @@ AM_LIBS = $(GTK_LIBS) $(GLIB_LIBS) $(GNOME_LIBS) $(DBUS_LIBS) $(BONOBO_LIBS) $(O
 ekiga_LDADD = \
 	$(top_builddir)/lib/libekiga.la $(AM_LIBS)
 
+if !WIN32
+ekiga_LDFLAGS = -lX11
+endif
+
 EXTRA_DIST = \
 	$(service_in_files)		\
 	dbus-helper/dbus-stub.xml	\



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