3 @@ -487,16 +487,9 @@ class PyBuildExt(build_ext):
6 def detect_modules(self):
7 - # Ensure that /usr/local is always used, but the local build
8 - # directories (i.e. '.' and 'Include') must be first. See issue
10 - if not cross_compiling:
11 - add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
12 - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
13 # only change this for cross builds for 3.3, issues on Mageia
16 - self.add_multiarch_paths()
18 # Add paths specified in the environment variables LDFLAGS and
19 # CPPFLAGS for header and library files.