libbsd: fix libpath to not use host path
authorXuefer H <xuefer@gmail.com>
Sat, 24 Dec 2022 12:16:11 +0000 (20:16 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 26 Dec 2022 12:36:41 +0000 (13:36 +0100)
commitab31547df06430798e6adb853a7faab13eb1754c
treea72ce39a7a31ca807120e624175d40ffee658c7d
parent5c7e4a9d2e25d5ecc33c3c2650e4f954936c9c69
libbsd: fix libpath to not use host path

libpath.so uses host path in ld script causing other packages fail to
cross compile, e.g. perl:
"ld: cannot find /usr/lib/libbsd.so.0.11.6: No such file or directory"

Fixes: openwrt/packages#19390
Signed-off-by: Xuefer H <xuefer@gmail.com>
package/libs/libbsd/Makefile
package/libs/libbsd/patches/001-fix-libpath.patch [new file with mode: 0644]