summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_ld.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4
index 5d82359ac0..f4a4c6d0ab 100644
--- a/source4/build/m4/check_ld.m4
+++ b/source4/build/m4/check_ld.m4
@@ -89,7 +89,8 @@ case "$host_os" in
PICFLAG="-fPIC -DPIC"
;;
*openbsd*)
- BLDSHARED="true"
+ # disabled because us4 fails to link libtorture.so
+ BLDSHARED="false"
LDFLAGS="$LDFLAGS -Wl,-Bdynamic"
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC"
@@ -107,7 +108,8 @@ case "$host_os" in
fi
;;
*aix*)
- BLDSHARED="true"
+ # disabled because us4 fails to link libtorture.so
+ BLDSHARED="false"
SHLD_FLAGS="-Wl,-G,-bexpall,-bbigtoc"
LDFLAGS="$LDFLAGS -Wl,-brtl,-bexpall,-bbigtoc"
# as AIX code is always position independent...