Skip to content

Commit cd543d0

Browse files
authored
gh-90473: Include stdlib dir in wasmtime PYTHONPATH (GH-93797)
1 parent 3cd1a5d commit cd543d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ then
14921492
dnl TODO: support other WASI runtimes
14931493
dnl wasmtime starts the proces with "/" as CWD. For OOT builds add the
14941494
dnl directory containing _sysconfigdata to PYTHONPATH.
1495-
[WASI/*], [HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt) --mapdir /::$(srcdir) --'],
1495+
[WASI/*], [HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --mapdir /::$(srcdir) --'],
14961496
[HOSTRUNNER='']
14971497
)
14981498
fi

0 commit comments

Comments
 (0)