summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-12-30 14:55:47 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-12-30 14:55:47 (GMT)
commitd1fc34d563a9fd06a78226b1bb4e56286c70e035 (patch)
treee71e106006d670ee75334178eb7a6171d9ad831e /configure
parent0dbebc02edfb5489248ab42f14f90cf9435e5796 (diff)
downloadcpython-d1fc34d563a9fd06a78226b1bb4e56286c70e035.zip
cpython-d1fc34d563a9fd06a78226b1bb4e56286c70e035.tar.gz
cpython-d1fc34d563a9fd06a78226b1bb4e56286c70e035.tar.bz2
Build and install libpython3.so.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 2846170..8d01bc1 100755
--- a/configure
+++ b/configure
@@ -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