diff options
author | Karolin Seeger <kseeger@samba.org> | 2010-03-04 16:18:44 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2010-03-04 16:19:33 +0100 |
commit | bc2ff7abc9c2b8c7c295e7164a02ef6820ebdae0 (patch) | |
tree | 45a20cc63442d1b1b5c7ee714455b0aef2cc9c52 /source3 | |
parent | 8cb416a0b569017e1928a7a1cead723ce64ca314 (diff) | |
download | samba-bc2ff7abc9c2b8c7c295e7164a02ef6820ebdae0.tar.gz samba-bc2ff7abc9c2b8c7c295e7164a02ef6820ebdae0.tar.bz2 samba-bc2ff7abc9c2b8c7c295e7164a02ef6820ebdae0.zip |
Revert "s3:configure: add --enable-as-needed"
This reverts commit 22d316926b9589608d332143c1fa134229b75b3c.
Please see bug #7209 for details.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/configure.in b/source3/configure.in index 5283d8f99a..7ba72bf26c 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1746,12 +1746,7 @@ fi AC_MSG_RESULT($BLDSHARED) -AC_ARG_ENABLE(as-needed, - [AS_HELP_STRING([--enable-as-needed], - [Turn on as-needed support if available (default=yes)])]) - -if test "x$enable_as_needed" != xno; then - for flags in "-Wl,--as-needed" "-Wl,-z,ignore" "-z ignore" ; do +for flags in "-Wl,--as-needed" "-Wl,-z,ignore" "-z ignore" ; do saved_ldflags="$LDFLAGS" AC_MSG_CHECKING([if $flags works]) LDFLAGS="$flags $saved_ldflags" @@ -1762,8 +1757,7 @@ if test "x$enable_as_needed" != xno; then AC_MSG_RESULT([no])) LDFLAGS="$LD_AS_NEEDED_FLAG $saved_ldflags" test x"$ld_as_needed_flag_found" = xyes && break - done -fi +done # for historical reasons almost all linkers don't complain about unresolved # symbols in shared libs. Except for the internal samba modules we want to get |