build: include first rust/gen

Ticket: 7804

Allows especially to prefer our lua (rust crate) includes over
the system one
pull/13683/head
Philippe Antoine 4 months ago committed by Jason Ish
parent 7be505e887
commit 669b651368

@ -2133,7 +2133,8 @@ fi
fi
RUST_SURICATA_LIB="${RUST_SURICATA_LIBDIR}/${RUST_SURICATA_LIBNAME}"
CFLAGS="${CFLAGS} -I\${srcdir}/../rust/gen -I\${srcdir}/../rust/dist -I../rust/gen"
# make sure that we use our headers for lua
CPPFLAGS="-I\${srcdir}/../rust/gen -I\${srcdir}/../rust/dist -I../rust/gen ${CPPFLAGS}"
AC_SUBST(RUST_SURICATA_LIB)
AC_SUBST(RUST_LDADD)
if test "x$CARGO_HOME" = "x"; then

Loading…
Cancel
Save