Skip to content

Commit 74009c9

Browse files
Alexpuxlazka
authored andcommitted
cross dont add multiarch paths if cross compiling
Co-authored-by: Алексей <[email protected]>
1 parent 3428663 commit 74009c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
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)