mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-90473: Include stdlib dir in wasmtime PYTHONPATH (GH-93797)
This commit is contained in:
parent
3cd1a5d3ec
commit
cd543d0bc9
2 changed files with 2 additions and 2 deletions
|
@ -1492,7 +1492,7 @@ then
|
|||
dnl TODO: support other WASI runtimes
|
||||
dnl wasmtime starts the proces with "/" as CWD. For OOT builds add the
|
||||
dnl directory containing _sysconfigdata to PYTHONPATH.
|
||||
[WASI/*], [HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt) --mapdir /::$(srcdir) --'],
|
||||
[WASI/*], [HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --mapdir /::$(srcdir) --'],
|
||||
[HOSTRUNNER='']
|
||||
)
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue