summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-20 03:10:58 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-20 03:10:58 +0000
commitc778331328ac36e26a7fd58dc592c739249d6ef4 (patch)
tree6ebf82d667b4af6591d448b0f1c223c75b4177eb
parentbd52d5f513cce2275971e4efb0ba3c8d06485a24 (diff)
downloadsamba-c778331328ac36e26a7fd58dc592c739249d6ef4.tar.gz
samba-c778331328ac36e26a7fd58dc592c739249d6ef4.tar.bz2
samba-c778331328ac36e26a7fd58dc592c739249d6ef4.zip
add -Bshareable for *bsd*
(This used to be commit c511a619750152db03897ea682713bbc98f71c6b)
-rw-r--r--source3/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 155c03ec08..7cbfe0efa6 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -36,6 +36,9 @@ case "$host_os" in
*sunos*) AC_DEFINE(SUNOS4)
LDSHFLAGS=""
;;
+ *bsd*) AC_DEFINE(BSD)
+ LDSHFLAGS="-shared -Bshareable"
+ ;;
*irix*) AC_DEFINE(IRIX)
WRAP32=bin/smbwrapper.32.so
;;