diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-01-26 23:20:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-01-26 23:20:23 +0000 |
commit | 954adf6c084040e364e46cfb982eb5e8f0bcdc2e (patch) | |
tree | d380c1dd501c018aca06018133c82075d9ca6fcb | |
parent | 55fc9e20bae1e7616297dd3e7fdac882ef752259 (diff) | |
download | libextractor-954adf6c084040e364e46cfb982eb5e8f0bcdc2e.tar.gz libextractor-954adf6c084040e364e46cfb982eb5e8f0bcdc2e.zip |
use -Wl on -no-undefined as it is a linker option:
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c3e9494..3e35a46 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -95,7 +95,7 @@ darwin*) | |||
95 | ;; | 95 | ;; |
96 | cygwin*) | 96 | cygwin*) |
97 | AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a CYGWIN system]) | 97 | AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a CYGWIN system]) |
98 | LDFLAGS="$LDFLAGS -no-undefined" | 98 | LDFLAGS="$LDFLAGS -Wl,-no-undefined" |
99 | AM_CONDITIONAL(SOMEBSD, false) | 99 | AM_CONDITIONAL(SOMEBSD, false) |
100 | AM_CONDITIONAL(HAVE_GNU_LD, false) | 100 | AM_CONDITIONAL(HAVE_GNU_LD, false) |
101 | AM_CONDITIONAL(WINDOWS, false) | 101 | AM_CONDITIONAL(WINDOWS, false) |
@@ -701,8 +701,8 @@ then | |||
701 | fi | 701 | fi |
702 | 702 | ||
703 | 703 | ||
704 | LE_LIB_LDFLAGS="-export-dynamic -no-undefined" | 704 | LE_LIB_LDFLAGS="-export-dynamic -Wl,-no-undefined" |
705 | LE_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined" | 705 | LE_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -Wl,-no-undefined" |
706 | 706 | ||
707 | 707 | ||
708 | # TODO insert a proper check here | 708 | # TODO insert a proper check here |