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:
parent
7a6405566c
commit
7b13c30604
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue