mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
o Fix a couple bugs in the way the Nmap built system checked for an
existing LUA library. A bashism caused one test to fail on system which don't use bash as /bin/sh, and another bug fixed --with-liblua configure option for specifying your own liblua. [Daniel Roethlisberger]
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -7181,7 +7181,6 @@ if test "${with_liblua+set}" = set; then
|
||||
*)
|
||||
CPPFLAGS="-I$with_liblua/include $CPPFLAGS"
|
||||
LDFLAGS="-L$with_liblua/lib $LDFLAGS"
|
||||
have_lua=yes
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -7189,7 +7188,7 @@ fi
|
||||
|
||||
|
||||
# They don't want lua
|
||||
if test $no_lua == yes; then
|
||||
if test "$no_lua" = "yes"; then
|
||||
CXXFLAGS="-DNOLUA $CXXFLAGS"
|
||||
LIBLUA_LIBS=""
|
||||
LUA_DEPENDS=""
|
||||
|
||||
Reference in New Issue
Block a user