summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2011-02-05 20:26:52 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2011-02-05 20:26:52 (GMT)
commit9b142aaae8581cc436c5a822bfac57e1687f6743 (patch)
treec29eac89661391be59f54996381ef03f5a5f1277 /configure.in
parent5405a0b3d352c0c106b92a86e963bde044bb1484 (diff)
downloadcpython-9b142aaae8581cc436c5a822bfac57e1687f6743.zip
cpython-9b142aaae8581cc436c5a822bfac57e1687f6743.tar.gz
cpython-9b142aaae8581cc436c5a822bfac57e1687f6743.tar.bz2
Issue #11121: Fix building with --enable-shared.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index f3a7ee9..419a93c 100644
--- a/configure.in
+++ b/configure.in
@@ -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