summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-07-24 20:33:35 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-07-24 20:33:35 (GMT)
commit3de8c73d90f5aaf8ea8d93af49f88950b02de8e6 (patch)
treef7a435f6f61ef72d55e5e297a2ac990847a77152
parent4cfae027b39d14a5a43f337c1a38b42d7461dd3a (diff)
downloadcpython-3de8c73d90f5aaf8ea8d93af49f88950b02de8e6.zip
cpython-3de8c73d90f5aaf8ea8d93af49f88950b02de8e6.tar.gz
cpython-3de8c73d90f5aaf8ea8d93af49f88950b02de8e6.tar.bz2
Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS2
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
4 files changed, 5 insertions, 2 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 65490db..0958490 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -771,6 +771,7 @@ Dirk Soede
Paul Sokolovsky
Cody Somerville
Clay Spence
+Stefan Sperling
Per Spilling
Joshua Spoerri
Noah Spurrier
diff --git a/Misc/NEWS b/Misc/NEWS
index 8ee7221..9f18a61 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -37,6 +37,8 @@ Core and Builtins
Library
-------
+- Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
+
- Issue #1813: Fix codec lookup and setting/getting locales under Turkish
locales.
diff --git a/configure b/configure
index f355e44..3af5eeb 100755
--- a/configure
+++ b/configure
@@ -4919,7 +4919,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
- Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*)
+ Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
diff --git a/configure.in b/configure.in
index a0705ac..139b21b 100644
--- a/configure.in
+++ b/configure.in
@@ -778,7 +778,7 @@ if test $enable_shared = "yes"; then
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION
;;
- Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*)
+ Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}