[gtk-vnc] Use --no-undefined instead of -no-undefined



commit c3c61dc76e874d9f577d6b9f9a80c361f8cf95e2
Author: Daniel P. Berrange <berrange redhat com>
Date:   Mon Mar 22 09:21:28 2010 +0000

    Use --no-undefined instead of -no-undefined
    
    Solaris can't cope with -no-undefined, and even Linux prefers the
    --no-undefined style.

 src/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 1d2ebcc..6e1f5d4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,7 +24,7 @@ libgvnc_1_0_la_CFLAGS = \
 			-I../gnulib/lib
 libgvnc_1_0_la_LDFLAGS = \
 			@VERSION_SCRIPT_FLAGS $(srcdir)/libgvnc_sym.version \
-			-version-info 0:1:0 -Wl,-no-undefined
+			-version-info 0:1:0 -Wl,--no-undefined
 
 gvnc_includedir = $(includedir)/gvnc-1.0/
 gvnc_include_HEADERS = \
@@ -77,7 +77,7 @@ libgtk_vnc_1_0_la_CFLAGS = \
 			-I../gnulib/lib
 libgtk_vnc_1_0_la_LDFLAGS = \
 			@VERSION_SCRIPT_FLAGS $(srcdir)/libgtk-vnc_sym.version \
-			-version-info 0:1:0 -Wl,-no-undefined
+			-version-info 0:1:0 -Wl,--no-undefined
 
 gtk_vnc_includedir = $(includedir)/gtk-vnc-1.0/
 gtk_vnc_include_HEADERS = \



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