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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user