From cdb1120da8da618d87e8fbd64c7378c703ce1ca3 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Tue, 20 Nov 2012 03:40:07 +0000 Subject: [PATCH] [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 --- configure | 6 +++++- configure.in | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1aed039651..246a2d4695 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 9e3f9d3d65..d974671e3d 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