diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-12-30 14:55:47 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-12-30 14:55:47 (GMT) |
commit | d1fc34d563a9fd06a78226b1bb4e56286c70e035 (patch) | |
tree | e71e106006d670ee75334178eb7a6171d9ad831e /configure | |
parent | 0dbebc02edfb5489248ab42f14f90cf9435e5796 (diff) | |
download | cpython-d1fc34d563a9fd06a78226b1bb4e56286c70e035.zip cpython-d1fc34d563a9fd06a78226b1bb4e56286c70e035.tar.gz cpython-d1fc34d563a9fd06a78226b1bb4e56286c70e035.tar.bz2 |
Build and install libpython3.so.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -647,6 +647,7 @@ LDVERSION RUNSHARED INSTSONAME LDLIBRARYDIR +PY3LIBRARY BLDLIBRARY DLLLIBRARY LDLIBRARY @@ -4710,6 +4711,7 @@ $as_echo "$LIBRARY" >&6; } + LDLIBRARY="$LIBRARY" BLDLIBRARY='$(LDLIBRARY)' INSTSONAME='$(LDLIBRARY)' @@ -4906,6 +4908,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h 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' @@ -4917,6 +4923,11 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>confdefs.h ;; esac INSTSONAME="$LDLIBRARY".$SOVERSION + PY3LIBRARY=libpython3.so + if test $with_pydebug == no + then + PY3LIBRARY=libpython3.so + fi ;; hp*|HP*) case `uname -m` in |