From: Ralph Eastwood Date: Mon, 14 Aug 2023 12:30:31 +0000 (+0200) Subject: configure: move -lntapi to LIBS variable X-Git-Tag: suricata-7.0.1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95ecbd117832c62c099b9da5762c454f6540a7e2;p=thirdparty%2Fsuricata.git configure: move -lntapi to LIBS variable Previously -lntapi was appended to LDFLAGS which did not work with all build environments. --- diff --git a/configure.ac b/configure.ac index 21304786cf..1fba3ebeef 100644 --- a/configure.ac +++ b/configure.ac @@ -1826,7 +1826,8 @@ if test "$enable_napatech" = "yes"; then CPPFLAGS="${CPPFLAGS} -I${with_napatech_includes}" - LDFLAGS="${LDFLAGS} -L${with_napatech_libraries} -lntapi" + LDFLAGS="${LDFLAGS} -L${with_napatech_libraries}" + LIBS="${LIBS} -lntapi" AC_CHECK_HEADER(nt.h,NAPATECH="yes",NAPATECH="no") if test "$NAPATECH" != "no"; then NAPATECH=""