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

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}