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

This commit is contained in:
Martin v. Löwis 2011-02-05 20:26:52 +00:00
parent 5405a0b3d3
commit 9b142aaae8
3 changed files with 539 additions and 493 deletions

View File

@ -20,6 +20,11 @@ Library
- Issue #8275: Fix passing of callback arguments with ctypes under Win64.
Patch by Stan Mihai.
Build
-----
- Issue #11121: Fix building with --enable-shared.
What's New in Python 3.2 Release Candidate 2?
=============================================

1014
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -738,7 +738,7 @@ if test $enable_shared = "yes"; then
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
INSTSONAME="$LDLIBRARY".$SOVERSION
if test $with_pydebug == no
if test "$with_pydebug" != yes
then
PY3LIBRARY=libpython3.so
fi
@ -753,8 +753,7 @@ if test $enable_shared = "yes"; then
;;
esac
INSTSONAME="$LDLIBRARY".$SOVERSION
PY3LIBRARY=libpython3.so
if test $with_pydebug == no
if test "$with_pydebug" != yes
then
PY3LIBRARY=libpython3.so
fi