mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-84461: Fix pydebug Emscripten browser builds (GH-93982)
wasm_assets script did not take the ABIFLAG flag of sysconfigdata into account.
This commit is contained in:
parent
f9433fff47
commit
7a2cc35e1c
2 changed files with 28 additions and 16 deletions
|
|
@ -247,8 +247,8 @@ SRCDIRS= @SRCDIRS@
|
|||
SUBDIRSTOO= Include Lib Misc
|
||||
|
||||
# assets for Emscripten browser builds
|
||||
WASM_ASSETS_DIR=".$(prefix)"
|
||||
WASM_STDLIB="$(WASM_ASSETS_DIR)/local/lib/python$(VERSION)/os.py"
|
||||
WASM_ASSETS_DIR=.$(prefix)
|
||||
WASM_STDLIB=$(WASM_ASSETS_DIR)/lib/python$(VERSION)/os.py
|
||||
|
||||
# Files and directories to be distributed
|
||||
CONFIGFILES= configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in
|
||||
|
|
@ -821,7 +821,7 @@ $(WASM_STDLIB): $(srcdir)/Lib/*.py $(srcdir)/Lib/*/*.py \
|
|||
Makefile pybuilddir.txt Modules/Setup.local \
|
||||
python.html python.worker.js
|
||||
$(PYTHON_FOR_BUILD) $(srcdir)/Tools/wasm/wasm_assets.py \
|
||||
--builddir . --prefix $(prefix)
|
||||
--buildroot . --prefix $(prefix)
|
||||
|
||||
python.html: $(srcdir)/Tools/wasm/python.html python.worker.js
|
||||
@cp $(srcdir)/Tools/wasm/python.html $@
|
||||
|
|
@ -2391,7 +2391,7 @@ clean-retain-profile: pycremoval
|
|||
-rm -f Lib/lib2to3/*Grammar*.pickle
|
||||
-rm -f _bootstrap_python
|
||||
-rm -f python.html python*.js python.data python*.symbols python*.map
|
||||
-rm -rf $(WASM_STDLIB)
|
||||
-rm -f $(WASM_STDLIB)
|
||||
-rm -f Programs/_testembed Programs/_freeze_module
|
||||
-rm -f Python/deepfreeze/*.[co]
|
||||
-rm -f Python/frozen_modules/*.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue