build: WASM post-build.sh from the source tree (out-of-tree)
magic/Makefile ran the WASM post-processor via ${MAGICDIR} (the build
top). Out-of-tree that resolves to build/toolchains/... which does not
exist — the script is a source file. Use ${MAGICSRC}. In-tree the two
are identical, so behaviour is unchanged there.
(Static edit; not runtime-verified — emscripten is not available here.)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c7bb0eeac8
commit
d0b0557915
|
|
@ -68,7 +68,7 @@ endif
|
|||
|
||||
main: magic proto.magicrc
|
||||
ifeq (${MAKE_WASM},1)
|
||||
@bash ${MAGICDIR}/toolchains/emscripten/post-build.sh magic.js magic.wasm
|
||||
@bash ${MAGICSRC}/toolchains/emscripten/post-build.sh magic.js magic.wasm
|
||||
endif
|
||||
|
||||
tcl-main: tclmagic${SHDLIB_EXT} proto.magicrc
|
||||
|
|
|
|||
Loading…
Reference in New Issue