Skip to content

Commit 6c0c4ac

Browse files
Alexpuxlazka
authored andcommitted
cross dont add multiarch paths if cross compiling
Co-authored-by: Алексей <alexey.pawlow@gmail.com>
1 parent f5327a2 commit 6c0c4ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -849,10 +849,10 @@ def configure_compiler(self):
849849
if not CROSS_COMPILING:
850850
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
851851
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
852+
self.add_multiarch_paths()
852853
# only change this for cross builds for 3.3, issues on Mageia
853854
if CROSS_COMPILING:
854855
self.add_cross_compiling_paths()
855-
self.add_multiarch_paths()
856856
self.add_ldflags_cppflags()
857857

858858
def init_inc_lib_dirs(self):

0 commit comments

Comments
 (0)