Skip to content

Commit 7d6891d

Browse files
committed
Fix WASI on 3.12 after GH-151567's build changes.
1 parent dc9697f commit 7d6891d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Tools/wasm/wasm_build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
WASMTOOLS = SRCDIR / "Tools" / "wasm"
4949
BUILDDIR = SRCDIR / "builddir"
5050
CONFIGURE = SRCDIR / "configure"
51-
SETUP_LOCAL = SRCDIR / "Modules" / "Setup.local"
51+
PYBUILDDIR_TXT = SRCDIR / "pybuilddir.txt"
5252

5353
HAS_CCACHE = shutil.which("ccache") is not None
5454

@@ -860,8 +860,8 @@ def main():
860860
builder.clean(all=False)
861861

862862
# hack for WASI
863-
if builder.host.is_wasi and not SETUP_LOCAL.exists():
864-
SETUP_LOCAL.touch()
863+
if builder.host.is_wasi and not PYBUILDDIR_TXT.exists():
864+
PYBUILDDIR_TXT.touch()
865865

866866
# auto-build
867867
if "build" in args.ops:

0 commit comments

Comments
 (0)