rust: remove build system HAVE_RUST guards

pull/4295/head
Victor Julien 6 years ago
parent 5e9714e384
commit b4318a11e3

@ -1,12 +1,8 @@
EXTRA_DIST = Cargo.toml \
EXTRA_DIST = Cargo.toml Cargo.lock \
src \
.cargo/config.in \
gen-c-headers.py
if HAVE_RUST
EXTRA_DIST += Cargo.lock
if HAVE_CARGO_VENDOR
EXTRA_DIST += vendor
endif
@ -75,8 +71,3 @@ gen/c-headers:
else
gen/c-headers:
endif
else # HAVE_RUST
all-local clean-local check vendor gen/c-headers:
endif # HAVE_RUST

@ -542,10 +542,7 @@ AM_CPPFLAGS = $(all_includes)
# the library search path.
suricata_LDFLAGS = $(all_libraries) ${SECLDFLAGS}
suricata_LDADD = $(HTP_LDADD) $(RUST_LDADD)
if HAVE_RUST
suricata_DEPENDENCIES = $(RUST_SURICATA_LIB)
endif
# default CFLAGS
AM_CFLAGS = ${OPTIMIZATION_CFLAGS} ${GCC_CFLAGS} ${CLANG_CFLAGS} \

Loading…
Cancel
Save