Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.

This commit is contained in:
Charles-François Natali 2011-07-24 22:41:18 +02:00
parent 0e3c5a828e
commit 749400a94d
4 changed files with 5 additions and 2 deletions

View File

@ -829,6 +829,7 @@ Dirk Soede
Paul Sokolovsky
Cody Somerville
Clay Spence
Stefan Sperling
Per Spilling
Joshua Spoerri
Noah Spurrier

View File

@ -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

2
configure vendored
View File

@ -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}

View File

@ -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}