summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-10-05 21:59:33 (GMT)
committerGuido van Rossum <guido@python.org>1999-10-05 21:59:33 (GMT)
commitf5957eaf0af0decd72ec28985bd2e18c125249b2 (patch)
tree5206bb739cef5f4924ab56ae37a703bc2296f989 /configure.in
parent231fffe1d4582263a430781e0a3435e444399abe (diff)
downloadcpython-f5957eaf0af0decd72ec28985bd2e18c125249b2.zip
cpython-f5957eaf0af0decd72ec28985bd2e18c125249b2.tar.gz
cpython-f5957eaf0af0decd72ec28985bd2e18c125249b2.tar.bz2
Dynamic linking support for BSD/OS 4.x as suggested by Vivek Khera
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5932e06..2639635 100644
--- a/configure.in
+++ b/configure.in
@@ -493,6 +493,7 @@ then
else CCSHARED="+z";
fi;;
Linux*) CCSHARED="-fpic";;
+ BSD/OS*/4*) CCSHARED="-fpic";;
FreeBSD*|OpenBSD*) CCSHARED="-fpic";;
NetBSD*) CCSHARED="-fPIC";;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
@@ -512,6 +513,7 @@ then
AIX*) LINKFORSHARED='-Wl,-bE:python.exp -lld';;
hp*|HP*)
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
+ BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
FreeBSD/[[34]]*) LINKFORSHARED="-Xlinker -export-dynamic";;
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
# -u libsys_s pulls in all symbols in libsys