Platforms built without a separate `libtinfo.so` fail to detect terminal
Opened this issue · 1 comments
big-guy commented
native-platform
links against libtinfo.so
, but the symbols for this library can also be found in libncurses
for some platforms (those built without --with-termlib
).
This causes Gradle to fail to detect that the console supports rich output (ANSI codes, colors, etc).
Symlinking libtinfo.so.6
to libncurses.so.6
is enough to work around this.
lacasseio commented
Same idea as in #24 (comment) (manually loading the libraries so we can fallback to alternative implementation).