You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
788 B

  1. --- a/setup.py
  2. +++ b/setup.py
  3. @@ -542,16 +542,9 @@ class PyBuildExt(build_ext):
  4. os.unlink(tmpfile)
  5. def detect_modules(self):
  6. - # Ensure that /usr/local is always used, but the local build
  7. - # directories (i.e. '.' and 'Include') must be first. See issue
  8. - # 10520.
  9. - if not cross_compiling:
  10. - add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
  11. - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
  12. # only change this for cross builds for 3.3, issues on Mageia
  13. if cross_compiling:
  14. self.add_gcc_paths()
  15. - self.add_multiarch_paths()
  16. # Add paths specified in the environment variables LDFLAGS and
  17. # CPPFLAGS for header and library files.