From a73cfa950afe7ccf5625e044070815846f5612ae Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 Nov 2007 16:13:02 +0100 Subject: r25876: Attempt to build shard libs everywhere again. (This used to be commit b5bcdbbd0c9a6133d15c3a9c01738d9899dbcf8d) --- source4/build/m4/check_ld.m4 | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4 index 460cb15621..de80394b08 100644 --- a/source4/build/m4/check_ld.m4 +++ b/source4/build/m4/check_ld.m4 @@ -72,30 +72,26 @@ case "$host_os" in SONAMEFLAG="-Wl,-soname," ;; *openbsd*) - # disabled because us4 fails to link libtorture.so - BLDSHARED="false" + BLDSHARED="true" LDFLAGS="$LDFLAGS -Wl,-Bdynamic" SONAMEFLAG="-Wl,-soname," ;; *irix*) - # disabled because us4 fails to link libtorture.so - BLDSHARED="false" + BLDSHARED="true" SONAMEFLAG="-soname " SHLD="${PROG_LD}" ;; *aix*) - # disabled because us4 fails to link libtorture.so - BLDSHARED="false" + BLDSHARED="true" LDFLAGS="$LDFLAGS -Wl,-brtl,-bexpall,-bbigtoc" ;; *hpux*) # Use special PIC flags for the native HP-UX compiler. if test $ac_cv_prog_cc_Ae = yes; then - BLDSHARED="true" SONAMEFLAG="-Wl,+h " elif test "${GCC}" = "yes"; then - BLDSHARED="true" # I hope this is correct fi + BLDSHARED="true" # I hope this is correct if test "$host_cpu" = "ia64"; then LDFLAGS="$LDFLAGS -Wl,-E,+b/usr/local/lib/hpux32:/usr/lib/hpux32" else @@ -103,8 +99,7 @@ case "$host_os" in fi ;; *osf*) - # disabled because tru64 fails to link libtorture.so - BLDSHARED="false" + BLDSHARED="true" SONAMEFLAG="-Wl,-soname," ;; *unixware*) -- cgit