invisible-island.net/ncurses: add legacy symlinks

This commit is contained in:
Jonathan Chang 2023-01-10 09:41:42 -08:00 committed by Jacob Heider
parent fe6eadedc8
commit eb8024ad63

View file

@ -15,6 +15,15 @@ build:
mkdir -p $PCDIR mkdir -p $PCDIR
./configure $ARGS ./configure $ARGS
make --jobs {{ hw.concurrency }} install make --jobs {{ hw.concurrency }} install
# fix up symlinks
cd {{prefix}}/lib
for lib in form menu ncurses panel curses++; do
for ii in $(find . -name lib${lib}w\*); do
# hopefully no new w's will be introduced
ln -s $ii $(echo $ii | tr -d w)
done
done
env: env:
PCDIR: ${{prefix}}/lib/pkgconfig PCDIR: ${{prefix}}/lib/pkgconfig
ARGS: ARGS: