cpython: 867937dd2279 (original) (raw)

Mercurial > cpython

changeset 69175:867937dd2279 3.2

Issue 11715: Merge multiarch fix from 3.1 branch.

Barry Warsaw barry@python.org
date Wed, 06 Apr 2011 15:19:05 -0400
parents b807cf929e26(current diff)7582a78f573b(diff)
children 3f00611c3daf c4a514199dba
files setup.py
diffstat 1 files changed, 21 insertions(+), 0 deletions(-)[+] [-] setup.py 21

line wrap: on

line diff

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

+ def detect_modules(self): # Ensure that /usr/local is always used, but the local build # directories (i.e. '.' and 'Include') must be first. See issue # 10520. 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.