Skip to content

Allow LuaJIT to be used #1854

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

Closed
wants to merge 1 commit into from
Closed

Allow LuaJIT to be used #1854

wants to merge 1 commit into from

Conversation

victorhora
Copy link
Contributor

Following the addition of Lua 5.1 compatibility with libModSecurity at dee9898, this PR tries to address support for LuaJIT. The output of the configure script after applying the patch should be something like:


...
configure: LUA library found at: /usr/lib/x86_64-linux-gnu//libluajit-5.1.so
configure: LUA headers found at: /usr/include/luajit-2.0
configure: LUA version from includes: 501
configure: using LUA -lluajit-5.1
...

   + LUA                                           ....found v501
      -lluajit-5.1 -L/usr/lib/x86_64-linux-gnu/, -DWITH_LUA -DWITH_LUA_5_1 -I/usr/include/luajit-2.0

Should finish solving the issue regarding LuaJIT support at #1809

@theMiddleBlue
Copy link

It works like a charm!

image

thanks a lot @victorhora and @p0pr0ck5 !

@victorhora
Copy link
Contributor Author

Merged as of 857bf9d

Thanks for the feedback @theMiddleBlue ;)

@victorhora victorhora closed this Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants