diff options
author | Christian Heimes <christian@python.org> | 2022-06-14 10:15:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 10:15:13 (GMT) |
commit | cd543d0bc9aacca1dee02dea7ff4aec8966dcaf8 (patch) | |
tree | 4b80616493188acb4a5e9f941bfa3f3bdd5f6e93 | |
parent | 3cd1a5d3ec487e23e3d976e7dd235329f04cfc73 (diff) | |
download | cpython-cd543d0bc9aacca1dee02dea7ff4aec8966dcaf8.zip cpython-cd543d0bc9aacca1dee02dea7ff4aec8966dcaf8.tar.gz cpython-cd543d0bc9aacca1dee02dea7ff4aec8966dcaf8.tar.bz2 |
gh-90473: Include stdlib dir in wasmtime PYTHONPATH (GH-93797)
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -6782,7 +6782,7 @@ else fi ;; #( WASI/*) : - HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt) --mapdir /::$(srcdir) --' ;; #( + HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --mapdir /::$(srcdir) --' ;; #( *) : HOSTRUNNER='' ;; diff --git a/configure.ac b/configure.ac index ca1b252..c207a81 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |