Skip to content

Commit

Permalink
[Meson] Keeping spaces between machine files (#16206)
Browse files Browse the repository at this point in the history
Fixed bug
  • Loading branch information
franramirez688 committed May 6, 2024
1 parent 59f70c6 commit 5c25bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conan/tools/meson/meson.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ def configure(self, reconfigure=False):
cmd = "meson setup "
if is_cross_build:
machine_files.insert(0, cross)
cmd += "".join([f'--cross-file "{file}"' for file in machine_files])
cmd += " ".join([f'--cross-file "{file}"' for file in machine_files])
if os.path.exists(native):
if not is_cross_build: # machine files are only appended to the cross or the native one
machine_files.insert(0, native)
cmd += "".join([f'--native-file "{file}"' for file in machine_files])
cmd += " ".join([f'--native-file "{file}"' for file in machine_files])
else: # extra native file for cross-building scenarios
cmd += f' --native-file "{native}"'
cmd += ' "{}" "{}"'.format(build_folder, source_folder)
Expand Down

0 comments on commit 5c25bb2

Please sign in to comment.