Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / luabind / 0.9.1-discover-luajit.patch
blobeab2bda7b9caf574d08c933ad3620dc9551e8bf3
1 diff --git a/cmake/Modules/FindLua52.cmake b/cmake/Modules/FindLua52.cmake
2 index f4398e4..17377c0 100644
3 --- a/cmake/Modules/FindLua52.cmake
4 +++ b/cmake/Modules/FindLua52.cmake
5 @@ -61,7 +61,7 @@ FIND_PATH(LUA_INCLUDE_DIR lua.h
8 FIND_LIBRARY(_LUA_LIBRARY_RELEASE
9 - NAMES lua52 lua5.2 lua-5.2 lua
10 + NAMES lua52 lua5.2 lua-5.2 lua luajit-5.1
11 HINTS
12 $ENV{LUA_DIR}
13 PATH_SUFFIXES lib64 lib
14 @@ -75,7 +75,7 @@ FIND_LIBRARY(_LUA_LIBRARY_RELEASE
17 FIND_LIBRARY(_LUA_LIBRARY_DEBUG
18 - NAMES lua52-d lua5.2-d lua-5.2-d lua-d
19 + NAMES lua52-d lua5.2-d lua-5.2-d lua-d luajit-5.1-d
20 HINTS
21 $ENV{LUA_DIR}
22 PATH_SUFFIXES lib64 lib