6.1-2: use filename instead of linker flag in libtinfo and libtic scripts

GHC fails to parse flags as INPUT() arguments, fixes FS#57258
ledoian
Bartłomiej Piotrowski 7 years ago
parent c1f0cbecb6
commit 8b8d7aa9e8

@ -4,7 +4,7 @@
pkgname=ncurses pkgname=ncurses
pkgver=6.1 pkgver=6.1
pkgrel=1 pkgrel=2
pkgdesc='System V Release 4.0 curses emulation library' pkgdesc='System V Release 4.0 curses emulation library'
arch=(x86_64) arch=(x86_64)
url='http://invisible-island.net/ncurses/ncurses.html' url='http://invisible-island.net/ncurses/ncurses.html'
@ -38,9 +38,8 @@ package() {
done done
for lib in tic tinfo; do for lib in tic tinfo; do
echo 'INPUT(-lncursesw)' > "$pkgdir/usr/lib/lib${lib}.so" echo "INPUT(libncursesw.so.${pkgver:0:1})" > "$pkgdir/usr/lib/lib${lib}.so"
ln -s libncursesw.so.${pkgver:0:1} "$pkgdir/usr/lib/lib${lib}.so.${pkgver:0:1}" ln -s libncursesw.so.${pkgver:0:1} "$pkgdir/usr/lib/lib${lib}.so.${pkgver:0:1}"
#ln -s ncursesw.pc "$pkgdir/usr/lib/pkgconfig/${lib}.pc"
done done
# some packages look for -lcurses during build # some packages look for -lcurses during build

Loading…
Cancel
Save