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 Paul Sokolovsky
Cody Somerville Cody Somerville
Clay Spence Clay Spence
Stefan Sperling
Per Spilling Per Spilling
Joshua Spoerri Joshua Spoerri
Noah Spurrier Noah Spurrier

View File

@ -37,6 +37,8 @@ Core and Builtins
Library Library
------- -------
- Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
- Issue #1813: Fix codec lookup and setting/getting locales under Turkish - Issue #1813: Fix codec lookup and setting/getting locales under Turkish
locales. 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} RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION INSTSONAME="$LDLIBRARY".$SOVERSION
;; ;;
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*) Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(VERSION).so' LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)' BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} 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} RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION INSTSONAME="$LDLIBRARY".$SOVERSION
;; ;;
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*) Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
LDLIBRARY='libpython$(VERSION).so' LDLIBRARY='libpython$(VERSION).so'
BLDLIBRARY='-L. -lpython$(VERSION)' BLDLIBRARY='-L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}