r22308: disabled shared libraries on aix and openbsd
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Apr 2007 13:58:57 +0000 (13:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:51:00 +0000 (14:51 -0500)
until we can link libtorture.so and libntvfs.so
there

metze

source/build/m4/check_ld.m4

index 5d82359ac01d99a63b041e1414fabfc7b8b3882d..f4a4c6d0ab0e78a0a1d347398a7444738d98c248 100644 (file)
@@ -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...