New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac: fix search for lua #1355

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@ffontaine

ffontaine commented Oct 13, 2018

When cross-compiling, paths such as /usr/include are not allowed and
will raise an error so don't use them when searching for lua.
Indeed, when cross-compilnig, the user can use the --with-liblua option
to specify a path that will put in CPPFLAGS.
If the library is not found without these paths, keep current code as a
fallback

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

configure.ac: fix search for lua
When cross-compiling, paths such as /usr/include are not allowed and
will raise an error so don't use them when searching for lua.
Indeed, when cross-compilnig, the user can use the --with-liblua option
to specify a path that will put in CPPFLAGS.
If the library is not found without these paths, keep current code as a
fallback

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@dmiller-nmap

This comment has been minimized.

dmiller-nmap commented Oct 14, 2018

nmap-bot pushed a commit that referenced this pull request Oct 16, 2018

Fix inclusion of Lua headers. See #1355
We will need to do something similar for Ncat.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment