summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-17 13:58:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:00 -0500
commit71270d5e1c26a3f8c55b7f32e23cbd6b0b36c886 (patch)
tree80a4f0de3a16c464a739b7b5eb5d4239584b20c3 /source4/build
parent8934c3f68e0ba949edd38673f10b9943059e4938 (diff)
downloadsamba-71270d5e1c26a3f8c55b7f32e23cbd6b0b36c886.tar.gz
samba-71270d5e1c26a3f8c55b7f32e23cbd6b0b36c886.tar.bz2
samba-71270d5e1c26a3f8c55b7f32e23cbd6b0b36c886.zip
r22308: disabled shared libraries on aix and openbsd
until we can link libtorture.so and libntvfs.so there metze (This used to be commit 9e6ed9ed0fd2b65c87d5bcfd99f88fe035c6c362)
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...