[vinagre] Fixed Makefile so that plugin loaders can be actually loaded :)



commit 997fd2d12a6a4de21a62112d09c167e06f333ffd
Author: Jonh Wendell <jwendell gnome org>
Date:   Wed Jul 8 11:28:57 2009 +0100

    Fixed Makefile so that plugin loaders can be actually loaded :)

 data/Makefile.am    |    2 ++
 vinagre/Makefile.am |    7 +++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index fca6183..9158d9e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -90,3 +90,5 @@ install-data-hook:
 uninstall-hook: 
 	$(UPDATE_MIME)
 	$(UPDATE_DESKTOP)
+
+-include $(top_srcdir)/git.mk
diff --git a/vinagre/Makefile.am b/vinagre/Makefile.am
index 8356aac..781ada1 100644
--- a/vinagre/Makefile.am
+++ b/vinagre/Makefile.am
@@ -101,6 +101,9 @@ endif
 libvinagre_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
 
 libvinagre_la_LIBADD = view/libview.la
+# VINAGRE_LIBS must be the last to ensure correct order on some platforms
+libvinagre_la_LIBADD += $(VINAGRE_LIBS)
+
 
 ##############################
 # The main binary
@@ -118,6 +121,8 @@ vinagre_LDADD = \
 	libvinagre.la \
 	$(NULL)
 
+vinagre_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
+
 ##############################
 # Bonobo .server
 ##############################
@@ -243,3 +248,5 @@ dist-hook:
 	cd $(distdir) ; rm -f $(DISTCLEANFILES)
 
 $(vinagre_OBJECTS): $(BUILT_SOURCES)
+
+-include $(top_srcdir)/git.mk



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