diff options
author | LRN <lrn1986@gmail.com> | 2014-01-27 07:05:32 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2014-01-27 07:05:32 +0000 |
commit | 8c3ac47e3126647893914faa1953455b7007e154 (patch) | |
tree | b42b2e3d72f38fc7dffd5288ed45affa80ca8a16 | |
parent | 954adf6c084040e364e46cfb982eb5e8f0bcdc2e (diff) | |
download | libextractor-8c3ac47e3126647893914faa1953455b7007e154.tar.gz libextractor-8c3ac47e3126647893914faa1953455b7007e154.zip |
Remove redundant -no-undefined, make sure that only the one that
gets into Makefiles directly remains, remove -Wl prefix from it
-rw-r--r-- | configure.ac | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 3e35a46..e33350a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -95,7 +95,6 @@ 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 -Wl,-no-undefined" | ||
99 | AM_CONDITIONAL(SOMEBSD, false) | 98 | AM_CONDITIONAL(SOMEBSD, false) |
100 | AM_CONDITIONAL(HAVE_GNU_LD, false) | 99 | AM_CONDITIONAL(HAVE_GNU_LD, false) |
101 | AM_CONDITIONAL(WINDOWS, false) | 100 | AM_CONDITIONAL(WINDOWS, false) |
@@ -147,7 +146,7 @@ mingw*) | |||
147 | LIBS="$LIBS -lplibc" | 146 | LIBS="$LIBS -lplibc" |
148 | fi | 147 | fi |
149 | 148 | ||
150 | LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols" | 149 | LDFLAGS="$LDFLAGS -Wl,--export-all-symbols" |
151 | LIBSOLD=$LIBS | 150 | LIBSOLD=$LIBS |
152 | AM_CONDITIONAL(HAVE_GNU_LD, true) | 151 | AM_CONDITIONAL(HAVE_GNU_LD, true) |
153 | AM_CONDITIONAL(SOMEBSD, false) | 152 | AM_CONDITIONAL(SOMEBSD, false) |
@@ -701,8 +700,8 @@ then | |||
701 | fi | 700 | fi |
702 | 701 | ||
703 | 702 | ||
704 | LE_LIB_LDFLAGS="-export-dynamic -Wl,-no-undefined" | 703 | LE_LIB_LDFLAGS="-export-dynamic -no-undefined" |
705 | LE_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -Wl,-no-undefined" | 704 | LE_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined" |
706 | 705 | ||
707 | 706 | ||
708 | # TODO insert a proper check here | 707 | # TODO insert a proper check here |