]> granicus.if.org Git - python/commitdiff
Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
authorCharles-François Natali <neologix@free.fr>
Sun, 24 Jul 2011 20:41:18 +0000 (22:41 +0200)
committerCharles-François Natali <neologix@free.fr>
Sun, 24 Jul 2011 20:41:18 +0000 (22:41 +0200)
Misc/ACKS
Misc/NEWS
configure
configure.in

index 9ac162f8fbf41a4b041d4151f9e89b7f674a1bf0..4a2c06e620d2753bbb052231565f236f586ce260 100644 (file)
--- 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
index 4513f9aec0e8f7dd044cf7493efca6f9363cdd7b..3fcdc9600c68182f4f81ce705dbf29d36bb3d795 100644 (file)
--- 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
index 21c9d1703cc66723cc99e7a6d794a670e2ff784d..3563be5ac1ef7d92135bdc8d826db630a3dd1108 100755 (executable)
--- 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}
index c439d5af06692df310c956ce62e918e6a718d798..5a411fe367294a1b21282f58979590e5891ffea3 100644 (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}