We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5794e26 commit afe2b14Copy full SHA for afe2b14
meson.build
@@ -21,7 +21,13 @@ cython_lower = '>=3.0.11'
21
cython_upper = '<3.3'
22
23
py = import('python').find_installation(pure: false)
24
-dep_py = py.dependency()
+if meson.is_cross_build() and host_machine.system() == 'emscripten'
25
+ # Avoid picking up the runner's host python.pc via pkg-config.
26
+ # For Pyodide, use the interpreter sysconfig data from pyodide-build instead.
27
+ dep_py = py.dependency(method: 'system')
28
+else
29
+ dep_py = py.dependency()
30
+endif
31
32
cc = meson.get_compiler('c')
33
cy = meson.get_compiler('cython')
0 commit comments