[build][wasm] add js_internal_api.js to link dependency (#17407)

### Description
add js_internal_api.js to link dependency. Now changes to
js_internal_api.js will correctly trigger re-link of ort-wasm.wasm
This commit is contained in:
Yulong Wang 2023-09-05 20:40:40 -07:00 committed by GitHub
parent 2cb75420ac
commit 110a2d0b73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,6 +236,7 @@ else()
"SHELL:-s ASYNCIFY=1"
"SHELL:-s ASYNCIFY_STACK_SIZE=65536"
)
set_target_properties(onnxruntime_webassembly PROPERTIES LINK_DEPENDS ${ONNXRUNTIME_ROOT}/wasm/js_internal_api.js)
endif()
if (onnxruntime_EMSCRIPTEN_SETTINGS)