From: Evan Hunt Date: Tue, 20 Nov 2012 03:40:07 +0000 (+0000) Subject: [v9_9] work around libtool issue X-Git-Tag: v9.10.0a1~698 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=cdb1120da8da618d87e8fbd64c7378c703ce1ca3;p=thirdparty%2Fbind9.git [v9_9] work around libtool issue - revert d3617e0d87428168e326830311dc074f0e31b77e - use -Xcompiler option to libtool so it won't suppress -shared - regenerate configure Conflicts: bin/tests/system/dlzexternal/Makefile.in --- diff --git a/configure b/configure index 1aed0396513..246a2d46954 100755 --- a/configure +++ b/configure @@ -19623,7 +19623,11 @@ if test "$dlopen" = "yes"; then SO_CFLAGS="-fPIC" if test "$have_dl" = "yes" then - SO_LD="${CC} -shared" + if test "$use_libtool" = "yes"; then + SO_LD="${CC} -Xcompiler -shared" + else + SO_LD="${CC} -shared" + fi else SO_LD="ld -shared" fi diff --git a/configure.in b/configure.in index 9e3f9d3d65c..d974671e3d7 100644 --- a/configure.in +++ b/configure.in @@ -3394,7 +3394,11 @@ if test "$dlopen" = "yes"; then SO_CFLAGS="-fPIC" if test "$have_dl" = "yes" then - SO_LD="${CC} -shared" + if test "$use_libtool" = "yes"; then + SO_LD="${CC} -Xcompiler -shared" + else + SO_LD="${CC} -shared" + fi else SO_LD="ld -shared" fi