Skip to content

Commit 1297f6f

Browse files
committed
Docker: Add wasm-wasi-component to the wasm target
Thus $ make build-wasm will build _both_ the 'wasm' & 'wasm-wasi-component' modules. Signed-off-by: Andrew Clayton <[email protected]>
1 parent 7702293 commit 1297f6f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/docker/Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ MODULE_PREBUILD_ruby ?= /bin/true
7777

7878
VERSIONS_wasm ?=
7979
CONTAINER_wasm ?= debian:$(VARIANT)-slim
80-
CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/\$$(dpkg-architecture -q DEB_HOST_MULTIARCH)/
81-
INSTALL_wasm ?= wasm-install
82-
RUN_wasm ?= /bin/true
80+
CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/\$$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ \&\& ./configure wasm-wasi-component
81+
INSTALL_wasm ?= wasm-install wasm-wasi-component-install
82+
RUN_wasm ?= /bin/true
83+
8384
define MODULE_PREBUILD_wasm
8485
apt-get install --no-install-recommends --no-install-suggests -y libclang-dev \\\n \
8586
\ \ \ \&\& export RUST_VERSION=1.76.0 \\\n \

0 commit comments

Comments
 (0)