Skip to content

Commit d76a0ce

Browse files
miss-islingtonadqm
andauthored
[3.14] gh-137025: Include python.worker.mjs in the Emscripten Web Example (GH-137236) (#137272)
gh-137025: Include ``python.worker.mjs`` in the Emscripten Web Example (GH-137236) (cherry picked from commit d5191ba) Co-authored-by: adam j hartz <[email protected]>
1 parent 058c277 commit d76a0ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile.pre.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,10 @@ web_example/index.html: $(WEBEX_DIR)/index.html
11091109
@mkdir -p web_example
11101110
@cp $< $@
11111111

1112+
web_example/python.worker.mjs: $(WEBEX_DIR)/python.worker.mjs
1113+
@mkdir -p web_example
1114+
@cp $< $@
1115+
11121116
web_example/server.py: $(WEBEX_DIR)/server.py
11131117
@mkdir -p web_example
11141118
@cp $< $@
@@ -1126,7 +1130,7 @@ web_example/python.mjs web_example/python.wasm: $(BUILDPYTHON)
11261130
cp python.wasm web_example/python.wasm
11271131

11281132
.PHONY: web_example
1129-
web_example: web_example/python.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB)
1133+
web_example: web_example/python.mjs web_example/python.worker.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB)
11301134

11311135
WEBEX2=web_example_pyrepl_jspi
11321136
WEBEX2_DIR=$(EMSCRIPTEN_DIR)/$(WEBEX2)/

0 commit comments

Comments
 (0)