From 8c3ac47e3126647893914faa1953455b7007e154 Mon Sep 17 00:00:00 2001 From: LRN Date: Mon, 27 Jan 2014 07:05:32 +0000 Subject: Remove redundant -no-undefined, make sure that only the one that gets into Makefiles directly remains, remove -Wl prefix from it --- configure.ac | 7 +++---- 1 file 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*) ;; cygwin*) AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a CYGWIN system]) - LDFLAGS="$LDFLAGS -Wl,-no-undefined" AM_CONDITIONAL(SOMEBSD, false) AM_CONDITIONAL(HAVE_GNU_LD, false) AM_CONDITIONAL(WINDOWS, false) @@ -147,7 +146,7 @@ mingw*) LIBS="$LIBS -lplibc" fi - LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols" + LDFLAGS="$LDFLAGS -Wl,--export-all-symbols" LIBSOLD=$LIBS AM_CONDITIONAL(HAVE_GNU_LD, true) AM_CONDITIONAL(SOMEBSD, false) @@ -701,8 +700,8 @@ then fi -LE_LIB_LDFLAGS="-export-dynamic -Wl,-no-undefined" -LE_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -Wl,-no-undefined" +LE_LIB_LDFLAGS="-export-dynamic -no-undefined" +LE_PLUGIN_LDFLAGS="-export-dynamic -avoid-version -module -no-undefined" # TODO insert a proper check here -- cgit v1.2.3