diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/deps.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index 2233f74a..f6de0db8 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua | |||
@@ -665,7 +665,11 @@ local function lua_h_exists(d, luaver) | |||
665 | if data:match("LUA_VERSION_NUM%s*" .. tostring(luanum)) then | 665 | if data:match("LUA_VERSION_NUM%s*" .. tostring(luanum)) then |
666 | return d | 666 | return d |
667 | end | 667 | end |
668 | |||
669 | return nil, "Lua header mismatches configured version. You may need to install them or configure LUA_INCDIR.", "dependency" | ||
668 | end | 670 | end |
671 | |||
672 | return nil, "Failed finding Lua header files. You may need to install them or configure LUA_INCDIR.", "dependency" | ||
669 | end | 673 | end |
670 | 674 | ||
671 | local function find_lua_incdir(prefix, luaver, luajitver) | 675 | local function find_lua_incdir(prefix, luaver, luajitver) |