mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
Look for and link with libnl. This is needed when linking with the new
libpcap 1.1.1 on Linux, when libpcap is also linked with libnl (which is is when available).
This commit is contained in:
@@ -549,6 +549,9 @@ AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all o
|
||||
# OpenSSL and NSE C modules can require dlopen
|
||||
AC_SEARCH_LIBS(dlopen, dl)
|
||||
|
||||
# libpcap can require libnl
|
||||
AC_SEARCH_LIBS(nl_handle_alloc, nl)
|
||||
|
||||
# They don't want lua
|
||||
if test "$no_lua" = "yes"; then
|
||||
CPPFLAGS="-DNOLUA $CPPFLAGS"
|
||||
|
||||
Reference in New Issue
Block a user