configure: move -lntapi to LIBS variable

Previously -lntapi was appended to LDFLAGS which did not work with
all build environments.
pull/9441/head
Ralph Eastwood 2 years ago committed by Victor Julien
parent d7aa7a063f
commit 95ecbd1178

@ -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=""

Loading…
Cancel
Save