mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
link to libtinfo.so.5
This commit is contained in:
parent
b674a5c238
commit
f28ed39c3f
1 changed files with 51 additions and 48 deletions
|
@ -6,12 +6,10 @@ versions:
|
||||||
github: mirror/ncurses/tags
|
github: mirror/ncurses/tags
|
||||||
strip: /v/
|
strip: /v/
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
freedesktop.org/pkg-config: ^0.29
|
freedesktop.org/pkg-config: ^0.29
|
||||||
script:
|
script:
|
||||||
|
|
||||||
#FIXME because our build infra is recursive
|
#FIXME because our build infra is recursive
|
||||||
- |
|
- |
|
||||||
if [ -d {{prefix}}/include ]; then
|
if [ -d {{prefix}}/include ]; then
|
||||||
|
@ -56,6 +54,11 @@ build:
|
||||||
ln -s libncurses.so libtermcap.so
|
ln -s libncurses.so libtermcap.so
|
||||||
ln -s libncursesw.so libtinfow.so
|
ln -s libncursesw.so libtinfow.so
|
||||||
ln -s libncurses.so libtinfo.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
|
working-directory: ${{prefix}}/lib
|
||||||
if: linux
|
if: linux
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue