We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4046b3 commit ff68f2aCopy full SHA for ff68f2a
1 file changed
mesonpy/__init__.py
@@ -491,9 +491,12 @@ def _configure(self, reconfigure: bool = False) -> None:
491
setup_args.insert(0, '--reconfigure')
492
493
try:
494
+ pyodide_root = pathlib.Path(os.environ['PYODIDE_ROOT'])
495
+ cross_file = str(pyodide_root / "tools/emscripten.meson.cross")
496
self._meson(
497
'setup',
- f'--native-file={os.fspath(self._meson_native_file)}',
498
+ # f'--native-file={os.fspath(self._meson_native_file)}',
499
+ f"--cross-file={cross_file}",
500
# TODO: Allow configuring these arguments
501
'-Ddebug=false',
502
'-Doptimization=2',
0 commit comments