From 31c64145f4a1194518e42b8c9feb3780dd0a332a Mon Sep 17 00:00:00 2001 From: mpeterv Date: Sat, 27 Feb 2016 20:12:25 +0300 Subject: [PATCH] Don't link lua.obj when building luac.exe --- hererocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hererocks.py b/hererocks.py index 7717826..0b52dd1 100755 --- a/hererocks.py +++ b/hererocks.py @@ -549,7 +549,7 @@ class RioLua(Lua): cmd_suffix = src if opts.target == "cl" else ("-c -o " + obj + " " + src) run_command(cc, static_cflags if obj in luac_objs else cflags, cmd_suffix) - lib_objs = [obj_ for obj_ in objs if obj_ not in luac_objs and obj_ != "lua.o"] + lib_objs = [obj_ for obj_ in objs if obj_ not in luac_objs and (obj_ != "lua" + objext())] luac_objs = "luac" + objext() if "print" + objext() in objs: