rust: build depends on ffi/Cargo.toml.in

pull/15432/head
Philippe Antoine 2 months ago committed by Victor Julien
parent 0773fba5fd
commit bce88dd83f

@ -69,7 +69,7 @@ CARGO_ENV += LOCALSTATEDIR=$(e_localstatedir)
# To pass specific CFLAGS to Lua.
CARGO_ENV += SURICATA_LUA_SYS_CFLAGS="$(SURICATA_LUA_SYS_CFLAGS)"
all-local: Cargo.toml
all-local: Cargo.toml ffi/Cargo.toml
mkdir -p $(abs_top_builddir)/rust/gen
cd $(abs_top_srcdir)/rust && \
CC="$(CC)" AR="$(AR)" RANLIB="$(RANLIB)"\
@ -232,3 +232,5 @@ Cargo.toml: Cargo.toml.in
update-lock: Cargo.toml
$(CARGO_ENV) $(CARGO) update
mv Cargo.lock Cargo.lock.in
ffi/Cargo.toml: ffi/Cargo.toml.in

Loading…
Cancel
Save