From 35dddd70ea25e316073a7a3bbabfe3c620832401 Mon Sep 17 00:00:00 2001 From: Owen Rafferty Date: Sun, 8 Dec 2024 16:40:42 -0600 Subject: [PATCH] ncurses: add additional symlinks for pkg-config files closes #205 --- extra/ncurses/build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/extra/ncurses/build b/extra/ncurses/build index f5c13e64..c2f7f9d9 100755 --- a/extra/ncurses/build +++ b/extra/ncurses/build @@ -30,5 +30,7 @@ done printf '%s\n' "INPUT(-lncursesw)" > "$1/usr/lib/libcursesw.so" ln -s libncurses.so "$1/usr/lib/libcurses.so" -# Fix pkgconfig file. -ln -s ncursesw.pc "$1/usr/lib/pkgconfig/ncurses.pc" +# Fix pkgconfig files. +for lib in ncurses form panel menu tinfo; do + ln -s "${lib}w.pc" "$1/usr/lib/pkgconfig/${lib}.pc" +done