Revert incorrect fix for the Lua 5.4.0-work2 VS problem

This commit is contained in:
Peter Melnichenko 2018-07-11 21:28:54 +03:00
parent a30d0dd550
commit ca2fd3194c

View File

@ -1437,7 +1437,7 @@ class RioLua(Lua):
# from a git repo that does not have them, like the default one.
if len(built_luac_objs) > 0:
if using_cl():
run("link", "/nologo", "/out:luac.exe", built_luac_objs, [lib_obj for lib_obj in lib_objs if lib_obj != "lopcodes.obj"])
run("link", "/nologo", "/out:luac.exe", built_luac_objs, lib_objs)
if os.path.exists("luac.exe.manifest"):
run("mt", "/nologo", "-manifest", "luac.exe.manifest", "-outputresource:luac.exe")