summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 47c7c843f9..998479cadb 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -33,7 +33,9 @@ case "$host_os" in
*linux*) AC_DEFINE(LINUX);;
*solaris*) AC_DEFINE(SUNOS5)
LDSHFLAGS="-G";;
- *sunos*) AC_DEFINE(SUNOS4);;
+ *sunos*) AC_DEFINE(SUNOS4)
+ LDSHFLAGS=""
+ ;;
*irix*) AC_DEFINE(IRIX)
WRAP32=smbwrapper/smbwrapper.32.so
PICFLAG="-KPIC"