summaryrefslogtreecommitdiffstats
path: root/source
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
commit98e5e022319a6c90a928fecab1ea27e55f74d98a (patch)
tree5d798e946b7104512713fab2a50e3c6ccbab7096 /source
parentd63b03f7536abb0745ad2a084c44108a3c19a8b6 (diff)
downloadsamba-98e5e022319a6c90a928fecab1ea27e55f74d98a.tar.gz
samba-98e5e022319a6c90a928fecab1ea27e55f74d98a.tar.xz
samba-98e5e022319a6c90a928fecab1ea27e55f74d98a.zip
One more possible fix for Solaris CC and GCC
Diffstat (limited to 'source')
-rw-r--r--source/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/configure.in b/source/configure.in
index 8385be9d452..1691e73f218 100644
--- a/source/configure.in
+++ b/source/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)