summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-07-24 20:44:15 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-07-24 20:44:15 (GMT)
commitdc1d548ecbf01925a3efef997865bb834e5738fd (patch)
treeb84f42edadc87e3f90bbc52b38b7051d181b5e08
parent5a24d82941cec6c207433d75c1120bf4a8438793 (diff)
parent749400a94d78bb714a8964c21f8979ab6b070708 (diff)
downloadcpython-dc1d548ecbf01925a3efef997865bb834e5738fd.zip
cpython-dc1d548ecbf01925a3efef997865bb834e5738fd.tar.gz
cpython-dc1d548ecbf01925a3efef997865bb834e5738fd.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 8a63f50..fc0e17d 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -885,6 +885,7 @@ Paul Sokolovsky
Cody Somerville
Edoardo Spadolini
Clay Spence
+Stefan Sperling
Per Spilling
Joshua Spoerri
Noah Spurrier
diff --git a/Misc/NEWS b/Misc/NEWS
index a8910f4..5d7f59f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -237,6 +237,8 @@ Core and Builtins
Library
-------
+- Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
+
- Issue #1813: Fix codec lookup under Turkish locales.
- Issue #12591: Improve support of "universal newlines" in the subprocess
diff --git a/configure b/configure
index 0de752f..866ece7 100755
--- a/configure
+++ b/configure
@@ -5005,7 +5005,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h
PY3LIBRARY=libpython3.so
fi
;;
- Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*)
+ Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(LDVERSION).so'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
diff --git a/configure.in b/configure.in
index bf12981..50e502b 100644
--- a/configure.in
+++ b/configure.in
@@ -769,7 +769,7 @@ if test $enable_shared = "yes"; then
PY3LIBRARY=libpython3.so
fi
;;
- Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*)
+ Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(LDVERSION).so'
BLDLIBRARY='-L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}