Skip to content

Commit ceb934a

Browse files
committed
Build: Print Lua/LuaJIT library build log as part of the build.
1 parent 4b1de22 commit ceb934a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,8 @@ def use_bundled_luajit(path, macros):
237237
build_env['CFLAGS'] = "-fPIC"
238238

239239
output = subprocess.check_output(build_script, cwd=src_dir, env=build_env)
240+
print(output.decode().strip())
240241
if lib_file.encode("ascii") not in output:
241-
print("Building LuaJIT did not report success:")
242-
print(output.decode().strip())
243242
print("## Building LuaJIT may have failed ##")
244243

245244
return {

0 commit comments

Comments
 (0)