summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-07-23 12:22:08 +0000
committerRichard Sharpe <sharpe@samba.org>2001-07-23 12:22:08 +0000
commit6b424641724742f833c1563c0939b09b32615805 (patch)
treeb93feeb9b52d7a10e8232560eb565b9046c52f2c
parent022db351e8c6599d5ccd238ab7eca6b1d8c8d77a (diff)
downloadsamba-6b424641724742f833c1563c0939b09b32615805.tar.gz
samba-6b424641724742f833c1563c0939b09b32615805.tar.bz2
samba-6b424641724742f833c1563c0939b09b32615805.zip
One more possible fix for Solaris CC and GCC
(This used to be commit 98e5e022319a6c90a928fecab1ea27e55f74d98a)
-rw-r--r--source3/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 8385be9d45..1691e73f21 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -625,13 +625,14 @@ case "$host_os" in
;;
*solaris*) AC_DEFINE(SUNOS5)
BLDSHARED="true"
- LDSHFLAGS="-Wl,-soname,\$@ -shared"
if test "${ac_cv_prog_CC}" = "gcc"; then
PICFLAG="-fPIC"
+ LDSHFLAGS="-shared"
else
PICFLAG="-KPIC -xO4"
POBAD_CC=""
PICSUFFIX="po.o"
+ LDSHFLAGS="-Wl,-soname,\$@"
fi
;;
*sunos*) AC_DEFINE(SUNOS4)