From c33038a268deb172f162c753248647cbf9555a8c Mon Sep 17 00:00:00 2001 From: mpeterv Date: Tue, 27 Oct 2015 11:41:53 +0300 Subject: [PATCH] Fix MinGW build again --- hererocks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hererocks.py b/hererocks.py index 98d6d83..12ed0bf 100755 --- a/hererocks.py +++ b/hererocks.py @@ -395,11 +395,13 @@ class LuaBuilder(object): self.lflags = "-s" run_command(verbose, self.get_arch_cmd(lib_obj_files, self.arch_file)) run_command(verbose, self.get_index_cmd(self.arch_file)) - self.arch_file, self.dll_file = orig_arch_file, self.arch_file lua_obj_files = self.compile_bases(lua_bases, verbose) run_command(verbose, self.get_link_cmd(lua_obj_files, self.arch_file, self.lua_file)) + if self.target == "mingw": + self.arch_file, self.dll_file = orig_arch_file, self.arch_file + def install(self, target_dir): move_files(check_subdir(target_dir, "bin"), self.lua_file, self.luac_file, self.dll_file)