cpython: bd0f73a9538e (original) (raw)

Mercurial > cpython

changeset 69188:bd0f73a9538e 2.7

Backport for Python 2.7 of issue 11715 support for building Python on multiarch Debian/Ubuntu. [#11715]

Barry Warsaw barry@python.org
date Thu, 07 Apr 2011 11:28:11 -0400
parents 2e4cdaffe493
children 6fb033af9310
files setup.py
diffstat 1 files changed, 23 insertions(+), 0 deletions(-)[+] [-] setup.py 23

line wrap: on

line diff

--- a/setup.py +++ b/setup.py @@ -345,10 +345,33 @@ class PyBuildExt(build_ext): return platform return sys.platform

+ def detect_modules(self): # Ensure that /usr/local is always used add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')

# Add paths specified in the environment variables LDFLAGS and # CPPFLAGS for header and library files.