mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 06:07:34 +02:00
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) <[email protected]>
This commit is contained in:
committed by
R. Timothy Edwards
co-authored by
Claude Opus 4.8
parent
c7bb0eeac8
commit
d0b0557915
+1
-1
@@ -68,7 +68,7 @@ endif
|
|||||||
|
|
||||||
main: magic proto.magicrc
|
main: magic proto.magicrc
|
||||||
ifeq (${MAKE_WASM},1)
|
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
|
endif
|
||||||
|
|
||||||
tcl-main: tclmagic${SHDLIB_EXT} proto.magicrc
|
tcl-main: tclmagic${SHDLIB_EXT} proto.magicrc
|
||||||
|
|||||||
Reference in New Issue
Block a user