Skip to content
This repository was archived by the owner on Aug 22, 2022. It is now read-only.

Commit 6ecbbca

Browse files
authored
Don't link libtinfo; fixes #252 (#539)
This may prevent nice colors in the output, but I didn't see that in my local testing (there's no error checking for those flags, though, so not sure I did it right). May fix emscripten-core/emsdk#252
1 parent 5c614a4 commit 6ecbbca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/build.py

+3
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,9 @@ def LLVM():
807807
'-DLLVM_ENABLE_ASSERTIONS=ON',
808808
'-DLLVM_TARGETS_TO_BUILD=X86;WebAssembly',
809809
'-DLLVM_ENABLE_PROJECTS=lld;clang',
810+
# linking libtinfo dynamically causes problems on some linuxes,
811+
# https://github.com/emscripten-core/emsdk/issues/252
812+
'-DLLVM_ENABLE_TERMINFO=0',
810813
])
811814

812815
jobs = host_toolchains.NinjaJobs()

0 commit comments

Comments
 (0)