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

This commit is contained in:
Charles-François Natali 2011-07-24 22:33:35 +02:00
parent 4cfae027b3
commit 3de8c73d90
4 changed files with 5 additions and 2 deletions

View File

@ -771,6 +771,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 and setting/getting locales under Turkish
locales.

2
configure vendored
View File

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

View File

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