blob: 86de74ee5e92e3238a917890161ee95bfb2eab65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#
# set -o errexit -o noglob are assumed.
#
pkg_glib_install_pkgconfig_post() {
local _pc_path;
for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
sed -i"" -e '/^Libs:\s/s/-L\${libdir}/& -lffi -lpcre -lz/' \
"${_pc_path}";
done;
};
pkg_glib_host_install_pkgconfig_post() {
pkg_glib_install_pkgconfig_post;
};
# vim:filetype=sh
|