glib2: fix compilation with Alpine Linux
authorRosen Penev <rosenp@gmail.com>
Sun, 13 Mar 2022 08:09:52 +0000 (00:09 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 18 Mar 2022 06:14:27 +0000 (23:14 -0700)
commit0ce744202ad2a2feaa3b841ce934765416d1339e
tree49a036899e86040fdb7fda593b5a14a2077ade74
parentd640480c0e874cd492efa3f4b905d2d312e1e267
glib2: fix compilation with Alpine Linux

Patch taken from Alpine Linux git. The problem is missing -lintl linker
flag. Placed in a separate directory as the patch interferes with the
way libintl is implemented in OpenWrt.

Also removed rpath hack, which is not needed as all libraries are
static.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/glib2/Makefile
libs/glib2/patches-host/001-musl-libintl.patch [new file with mode: 0644]