summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-13 15:27:21 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-13 15:27:21 (GMT)
commit1f7401673588056747810fe4df23c847f4319f83 (patch)
treeae722c8295c52b244bbd02ac6910614366c6f54b /configure.in
parent3ad125e6119f80596b15d3663249b8a15254811b (diff)
downloadcpython-1f7401673588056747810fe4df23c847f4319f83.zip
cpython-1f7401673588056747810fe4df23c847f4319f83.tar.gz
cpython-1f7401673588056747810fe4df23c847f4319f83.tar.bz2
Support for OpenBSD :-(
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index a81b2a0..4ce2483 100644
--- a/configure.in
+++ b/configure.in
@@ -293,7 +293,7 @@ then
next/*) LDSHARED='$(CC) $(CFLAGS) -nostdlib -r';;
Linux*) LDSHARED="gcc -shared";;
dgux*) LDSHARED="ld -G";;
- FreeBSD*|NetBSD*) LDSHARED="ld -Bshareable";;
+ FreeBSD*|NetBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
SCO_SV*) LDSHARED="cc -G -KPIC -Ki486 -belf -Wl,-Bexport";;
*) LDSHARED="ld";;
esac
@@ -310,7 +310,7 @@ then
else CCSHARED="+z";
fi;;
Linux*) CCSHARED="-fpic";;
- FreeBSD*|NetBSD*) CCSHARED="-fpic";;
+ FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fpic";;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
IRIX*/6*) case $CC in
*gcc*) CCSHARED="-shared";;