summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-07-23 07:22:11 +0000
committerRichard Sharpe <sharpe@samba.org>2001-07-23 07:22:11 +0000
commit6a3132d876fe9f0f53115eb2c472e6a9b6e40df3 (patch)
tree757507266654aa10599c47299bf2bf9d3821add0 /source3
parent881d72acde9950897614ff0d636d46a34db7c253 (diff)
downloadsamba-6a3132d876fe9f0f53115eb2c472e6a9b6e40df3.tar.gz
samba-6a3132d876fe9f0f53115eb2c472e6a9b6e40df3.tar.bz2
samba-6a3132d876fe9f0f53115eb2c472e6a9b6e40df3.zip
Try and build shared on SCO. Assume that it is like others, but uses
-KPIC, which it does! (This used to be commit bc0317678299028cd9f9de8c0daf9f06318cce13)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 44b2533294..138be6c27c 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -670,6 +670,8 @@ case "$host_os" in
*sco*) AC_DEFINE(SCO);;
*unixware*) AC_DEFINE(UNIXWARE)
BLDSHARED="true"
+ LDSHFLAGS="-Wl,-soname,\$@ -shared"
+ PICFLAG="-KPIC"
;;
*next2*) AC_DEFINE(NEXT2);;
*dgux*) AC_CHECK_PROG( ROFF, groff, [groff -etpsR -Tascii -man]);;