2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

[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
This commit is contained in:
Evan Hunt 2012-11-20 03:40:07 +00:00 committed by Mark Andrews
parent 63dd467330
commit cdb1120da8
2 changed files with 10 additions and 2 deletions

6
configure vendored
View File

@ -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

View 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