Re: [Python-Dev] r87577 - in python/branches/py3k: Makefile.pre.in configure configure.in pyconfig.h.in
Am 30.12.2010 15:55, schrieb martin.v.loewis:
Author: martin.v.loewis Date: Thu Dec 30 15:55:47 2010 New Revision: 87577
Log: Build and install libpython3.so.
Modified: python/branches/py3k/configure.in ============================================================================== --- python/branches/py3k/configure.in (original) +++ python/branches/py3k/configure.in Thu Dec 30 15:55:47 2010
@@ -737,6 +738,10 @@ BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} INSTSONAME="$LDLIBRARY".$SOVERSION + if test $with_pydebug == no + then + PY3LIBRARY=libpython3.so + fi ;; Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*) LDLIBRARY='libpython$(LDVERSION).so' @@ -748,6 +753,11 @@ ;; esac INSTSONAME="$LDLIBRARY".$SOVERSION + PY3LIBRARY=libpython3.so + if test $with_pydebug == no + then + PY3LIBRARY=libpython3.so + fi ;; hp*|HP*) case `uname -m` in
These changes do not work as written: if --with-pydebug is not given, $with_pydebug is empty, not "no". Also, in the second case the unconditional PY3LIBRARY assignment should probably be deleted. cheers, Georg
participants (1)
-
Georg Brandl