summaryrefslogtreecommitdiffstats
path: root/source
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
commitbc0317678299028cd9f9de8c0daf9f06318cce13 (patch)
tree768415e12409767936f42b610e4c7b7fc65a7c2a /source
parentd5f12bc53074d574a503e7183887fdcec9bb9dd4 (diff)
downloadsamba-bc0317678299028cd9f9de8c0daf9f06318cce13.tar.gz
samba-bc0317678299028cd9f9de8c0daf9f06318cce13.tar.xz
samba-bc0317678299028cd9f9de8c0daf9f06318cce13.zip
Try and build shared on SCO. Assume that it is like others, but uses
-KPIC, which it does!
Diffstat (limited to 'source')
-rw-r--r--source/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/configure.in b/source/configure.in
index 44b2533294a..138be6c27cf 100644
--- a/source/configure.in
+++ b/source/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]);;