[gtkglext] Pass -no-undefined unconditionally.



commit 57fccda82a60323967dd0b11a3f195dd78ad55ee
Author: Braden McDaniel <braden endoframe com>
Date:   Sun May 29 02:56:38 2011 -0400

    Pass -no-undefined unconditionally.

 gdk/Makefile.am |    6 +-----
 gtk/Makefile.am |    6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 8288748..c63953e 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -8,10 +8,6 @@ EXTRA_DIST = \
 	gdkglversion.h.in	\
 	gdkglext.def
 
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
 if OS_WIN32
 gdkglext_def = $(srcdir)/gdkglext.def
 gdkglext_win32_symbols = -export-symbols $(gdkglext_def)
@@ -39,7 +35,7 @@ common_ldflags = \
 	-version-info $(GTKGLEXT_CURRENT):$(GTKGLEXT_REVISION):$(GTKGLEXT_AGE) 	\
 	-export-dynamic 					\
 	-rpath $(libdir) 					\
-	$(no_undefined)						\
+	-no-undefined						\
 	@LIBTOOL_EXPORT_OPTIONS@				\
 	$(gdkglext_win32_symbols)
 
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 09698d5..99e2592 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -5,10 +5,6 @@ EXTRA_DIST = \
 	gtkglversion.h.in	\
 	gtkglext.def
 
-if PLATFORM_WIN32
-no_undefined = -no-undefined
-endif
-
 if OS_WIN32
 gtkglext_def = $(srcdir)/gtkglext.def
 gtkglext_win32_symbols = -export-symbols $(gtkglext_def)
@@ -36,7 +32,7 @@ common_ldflags = \
 	-version-info $(GTKGLEXT_CURRENT):$(GTKGLEXT_REVISION):$(GTKGLEXT_AGE) 	\
 	-export-dynamic 					\
 	-rpath $(libdir) 					\
-	$(no_undefined)						\
+	-no-undefined						\
 	@LIBTOOL_EXPORT_OPTIONS@				\
 	$(gtkglext_win32_symbols)
 



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