summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/wasm-wasi-component
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-02-22 01:24:11 +0000
committerAndrew Clayton <a.clayton@nginx.com>2024-02-22 03:17:08 +0000
commit7b13c30604952059c337b8c6afa588fdb5b8895a (patch)
tree57bbf9e4c7ba32d93771b1c9110d5aa46c0c8f07 /auto/modules/wasm-wasi-component
parent7a6405566c0e15990fa6487a6dc4654389ce5601 (diff)
downloadunit-7b13c30604952059c337b8c6afa588fdb5b8895a.tar.gz
unit-7b13c30604952059c337b8c6afa588fdb5b8895a.tar.bz2
Wasm-wc: Add nxt_unit.o as a dependency in the auto script
Rather than calling make itself to build nxt_unit.o make nxt_unit.o a dependency of the main module build target. Reported-by: Konstantin Pavlov <thresh@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'auto/modules/wasm-wasi-component')
-rw-r--r--auto/modules/wasm-wasi-component3
1 files changed, 1 insertions, 2 deletions
diff --git a/auto/modules/wasm-wasi-component b/auto/modules/wasm-wasi-component
index 1ec5841c..52ea3428 100644
--- a/auto/modules/wasm-wasi-component
+++ b/auto/modules/wasm-wasi-component
@@ -99,8 +99,7 @@ all: ${NXT_WCM_MODULE}
${NXT_WCM_MODULE}: $NXT_BUILD_DIR/lib/unit/modules/$NXT_WCM_MOD_NAME
-$NXT_BUILD_DIR/lib/unit/modules/$NXT_WCM_MOD_NAME:
- make build/src/nxt_unit.o
+$NXT_BUILD_DIR/lib/unit/modules/$NXT_WCM_MOD_NAME: build/src/nxt_unit.o
$NXT_CARGO_CMD
install: ${NXT_WCM_MODULE}-install