summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-06 16:13:02 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:36 +0100
commita73cfa950afe7ccf5625e044070815846f5612ae (patch)
tree5b497627a6a68059fb30931ae7efd47b8347d268 /source4/build
parenta564ca1c739360b0933a2eab234378e4ec485b60 (diff)
downloadsamba-a73cfa950afe7ccf5625e044070815846f5612ae.tar.gz
samba-a73cfa950afe7ccf5625e044070815846f5612ae.tar.bz2
samba-a73cfa950afe7ccf5625e044070815846f5612ae.zip
r25876: Attempt to build shard libs everywhere again.
(This used to be commit b5bcdbbd0c9a6133d15c3a9c01738d9899dbcf8d)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_ld.m415
1 files 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*)