From 57029cd66a1cf8bf3a61a70116c1fdd31f1300c6 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Tue, 8 Dec 2015 12:01:27 +0300 Subject: [PATCH] Fix installation of LuaJIT static lib Install into lib/libluajit-5.1.a instead of ./liblua.a --- hererocks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hererocks.py b/hererocks.py index 1499799..3e766be 100755 --- a/hererocks.py +++ b/hererocks.py @@ -537,7 +537,7 @@ class LuaJIT(Lua): luajit_file = exe("luajit") lua_file = exe("lua") arch_file = "libluajit.a" - target_arch_file = "liblua.a" + target_arch_file = "libluajit-5.1.a" self.dll_file = None if os.name == "nt": @@ -553,7 +553,7 @@ class LuaJIT(Lua): "lua.h", "luaconf.h", "lualib.h", "lauxlib.h", "lua.hpp") copy_files(os.path.join(opts.location, "lib")) - shutil.copy(arch_file, os.path.join(opts.location, target_arch_file)) + shutil.copy(arch_file, os.path.join(opts.location, "lib", target_arch_file)) jitlib_path = os.path.join( opts.location, "share", "lua", self.major_version, "jit")