diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2022-04-16 17:12:28 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-04-16 17:15:06 -0300 |
commit | 1411cd7ea9e51eeae050fa27ea6a95190737b601 (patch) | |
tree | cc7928cb2c349c69ca2d7651eb702c69fd678d7c /binary | |
parent | ab5b1380c1717c22c9d6188b334e8a93c877be57 (diff) | |
download | luarocks-1411cd7ea9e51eeae050fa27ea6a95190737b601.tar.gz luarocks-1411cd7ea9e51eeae050fa27ea6a95190737b601.tar.bz2 luarocks-1411cd7ea9e51eeae050fa27ea6a95190737b601.zip |
deps: better error message when lua.h version mismatches
Diffstat (limited to 'binary')
-rwxr-xr-x | binary/all_in_one | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binary/all_in_one b/binary/all_in_one index 34b84a2c..63c6ef98 100755 --- a/binary/all_in_one +++ b/binary/all_in_one | |||
@@ -410,8 +410,8 @@ local function generate(main_program, dir, skip) | |||
410 | fd:write(reindent_c(table.concat(out, "\n"))) | 410 | fd:write(reindent_c(table.concat(out, "\n"))) |
411 | fd:close() | 411 | fd:close() |
412 | 412 | ||
413 | deps.check_lua_incdir(cfg.variables) | 413 | assert(deps.check_lua_incdir(cfg.variables)) |
414 | deps.check_lua_libdir(cfg.variables) | 414 | assert(deps.check_lua_libdir(cfg.variables)) |
415 | 415 | ||
416 | cmd = table.concat(filter_in(nonnull, { | 416 | cmd = table.concat(filter_in(nonnull, { |
417 | CC, "-o", TARGET_DIR .. "/" .. program_name .. ".exe", | 417 | CC, "-o", TARGET_DIR .. "/" .. program_name .. ".exe", |