link to libtinfo.so.5

This commit is contained in:
Jacob Heider 2024-02-09 16:10:34 -05:00 committed by Jacob Heider
parent b674a5c238
commit f28ed39c3f

View file

@ -6,12 +6,10 @@ versions:
github: mirror/ncurses/tags
strip: /v/
build:
dependencies:
freedesktop.org/pkg-config: ^0.29
script:
#FIXME because our build infra is recursive
- |
if [ -d {{prefix}}/include ]; then
@ -56,6 +54,11 @@ build:
ln -s libncurses.so libtermcap.so
ln -s libncursesw.so libtinfow.so
ln -s libncurses.so libtinfo.so
# ghc needs to find libtinfo.so.5, which is built from v6 on ubuntu 18.04...
ln -s libncurses.so libtinfo.so.5
ln -s libncurses.so libtinfo.so.{{version.major}}
ln -s libncursesw.so libtinfow.so.5
ln -s libncursesw.so libtinfow.so.{{version.major}}
working-directory: ${{prefix}}/lib
if: linux