aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/deps.lua4
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"
669end 673end
670 674
671local function find_lua_incdir(prefix, luaver, luajitver) 675local function find_lua_incdir(prefix, luaver, luajitver)