Commit 9b142aaa authored by Martin v. Löwis's avatar Martin v. Löwis

Issue #11121: Fix building with --enable-shared.

parent 5405a0b3
...@@ -20,6 +20,11 @@ Library ...@@ -20,6 +20,11 @@ Library
- Issue #8275: Fix passing of callback arguments with ctypes under Win64. - Issue #8275: Fix passing of callback arguments with ctypes under Win64.
Patch by Stan Mihai. Patch by Stan Mihai.
Build
-----
- Issue #11121: Fix building with --enable-shared.
What's New in Python 3.2 Release Candidate 2? What's New in Python 3.2 Release Candidate 2?
============================================= =============================================
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -738,7 +738,7 @@ if test $enable_shared = "yes"; then ...@@ -738,7 +738,7 @@ if test $enable_shared = "yes"; then
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)' BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION INSTSONAME="$LDLIBRARY".$SOVERSION
if test $with_pydebug == no if test "$with_pydebug" != yes
then then
PY3LIBRARY=libpython3.so PY3LIBRARY=libpython3.so
fi fi
...@@ -753,8 +753,7 @@ if test $enable_shared = "yes"; then ...@@ -753,8 +753,7 @@ if test $enable_shared = "yes"; then
;; ;;
esac esac
INSTSONAME="$LDLIBRARY".$SOVERSION INSTSONAME="$LDLIBRARY".$SOVERSION
PY3LIBRARY=libpython3.so if test "$with_pydebug" != yes
if test $with_pydebug == no
then then
PY3LIBRARY=libpython3.so PY3LIBRARY=libpython3.so
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment