Issue #11121: Fix building with --enable-shared.
diff --git a/configure.in b/configure.in
index f3a7ee9..419a93c 100644
--- a/configure.in
+++ b/configure.in
@@ -738,7 +738,7 @@
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 @@
;;
esac
INSTSONAME="$LDLIBRARY".$SOVERSION
- PY3LIBRARY=libpython3.so
- if test $with_pydebug == no
+ if test "$with_pydebug" != yes
then
PY3LIBRARY=libpython3.so
fi