]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9] work around libtool issue
authorEvan Hunt <each@isc.org>
Tue, 20 Nov 2012 03:40:07 +0000 (03:40 +0000)
committerMark Andrews <marka@isc.org>
Wed, 28 Nov 2012 05:56:14 +0000 (05:56 +0000)
- revert d3617e0d87428168e326830311dc074f0e31b77e
- use -Xcompiler option to libtool so it won't suppress -shared
- regenerate configure

Conflicts:
bin/tests/system/dlzexternal/Makefile.in

configure
configure.in

index 1aed039651356b5930d4760440653e7b41f3cf1a..246a2d4695437e3c9e724f491ba74e3f633e8040 100755 (executable)
--- 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
index 9e3f9d3d65cda114719d76ee0933ed5d0c66ff58..d974671e3d7720c9edab729ee6a4523ed7883737 100644 (file)
@@ -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