ncurses: Fix path in ncursesw.pc librecmc-v6.0
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 27 Jul 2024 17:29:04 +0000 (19:29 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 19 Sep 2024 17:37:39 +0000 (13:37 -0400)
commit628f0ecad7704aab7e6019d33b8416bdbb8c8c4f
treef1b78904af9a9247d4b277608f083da2822a80c7
parent76803708bca64b9fb907c55a662aed8a4c761d11
ncurses: Fix path in ncursesw.pc

The file contains the the /usr/lib path from the toolchain directory and
not from the target directory. The /usr/lib directory for the toolchain
is empty and the shared library is not in the specified paths. On RISCV
the linker of util-linux was finding the libncursesw.so in my host
system, tried to link against it and failed. Fix the .pc file.

Fixes: #15942
Co-authored-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://github.com/openwrt/openwrt/pull/16018
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 91573ac145aa70a12b0984ec75507ac648569240)
Link: https://github.com/openwrt/openwrt/pull/16390
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/libs/ncurses/Makefile