b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/setup.py |
| 2 | +++ b/setup.py |
| 3 | @@ -843,16 +843,9 @@ class PyBuildExt(build_ext): |
| 4 | add_dir_to_list(dir_list, directory) |
| 5 | |
| 6 | def configure_compiler(self): |
| 7 | - # Ensure that /usr/local is always used, but the local build |
| 8 | - # directories (i.e. '.' and 'Include') must be first. See issue |
| 9 | - # 10520. |
| 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 |
| 14 | if CROSS_COMPILING: |
| 15 | self.add_cross_compiling_paths() |
| 16 | - self.add_multiarch_paths() |
| 17 | self.add_ldflags_cppflags() |
| 18 | |
| 19 | def init_inc_lib_dirs(self): |