summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-05 09:06:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-05 09:06:32 +0000
commitb8fb774718de49d5a96e6cfa5b38a42b9f3f0e6a (patch)
tree3f1cdfbb5aecf88ab5fe27af29b81202241934b2 /configure.ac
parent0bae85f2b4fe6e55a3f5164066afe64cf499432b (diff)
LRN: Add '-Wl,' prefix to -no-undefined
-no-undefined is not a valid compiler option as of GCC 4.6.x (it IS valid linker option). Note that this REQUIRES an extra -no-undefined to be passed to libtool (this is done by GN_LIB_LDLFAGS and GN_PLUGIN_LDFLAGS), because libtool does not understand -Wl,-no-undefined.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 148c827bc..7957cc2a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,7 +141,7 @@ netbsd*)
AC_DEFINE_UNQUOTED(WINDOWS,1,[This is a Windows system])
AC_DEFINE_UNQUOTED(_WIN32,1,[This is a Windows system])
AC_CHECK_LIB(intl, gettext)
- LDFLAGS="$LDFLAGS -no-undefined -Wl,--export-all-symbols"
+ LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols"
LIBS="$LIBS -lws2_32 -lplibc"
CFLAGS="-mms-bitfields $CFLAGS"
CPPFLAGS="-D_WIN32_WINNT=0x0501 $CPPFLAGS"