From b13503763724be8bdbf70e1d0bca8fb8a86625c5 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Thu, 27 Dec 2012 08:04:59 +0400 Subject: Use shared libpython --- python2.7/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'python2.7/Makefile') diff --git a/python2.7/Makefile b/python2.7/Makefile index eedd968..88547f3 100644 --- a/python2.7/Makefile +++ b/python2.7/Makefile @@ -34,8 +34,13 @@ configure-options += \ --with-dbmliborder=bdb:gdbm \ --with-system-expat \ --with-system-ffi \ - --enable-static \ - --libdir=/usr/lib + --enable-shared \ + + +# Ensure Makefile goes into /usr/lib/pythonX.Y/config +# (where rumtime will look it for), +# not into /usr/lib/amd64/pythonX.Y/config: +install-%-stamp: make-vars += LIBPL=$(prefix)/lib/python$(pyver)/config checksum-Python-2.7.3.tar.bz2 := \ md5:c57477edd6d18bd9eeca2f21add73919 \ -- cgit v1.2.3