summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-07-24 20:41:18 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-07-24 20:41:18 (GMT)
commit749400a94d78bb714a8964c21f8979ab6b070708 (patch)
tree79b3bc555cd0e688972e0f8339ee32f00f99da0b
parent0e3c5a828e65f4f5821dad0e7b0ff4ca9f62f9d3 (diff)
downloadcpython-749400a94d78bb714a8964c21f8979ab6b070708.zip
cpython-749400a94d78bb714a8964c21f8979ab6b070708.tar.gz
cpython-749400a94d78bb714a8964c21f8979ab6b070708.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 9ac162f..4a2c06e 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -829,6 +829,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 4513f9a..3fcdc96 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 under Turkish locales.
- Issue #12591: Improve support of "universal newlines" in the subprocess
diff --git a/configure b/configure
index 21c9d17..3563be5 100755
--- a/configure
+++ b/configure
@@ -4950,7 +4950,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 c439d5a..5a411fe 100644
--- a/configure.in
+++ b/configure.in
@@ -755,7 +755,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}