summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)