|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
# set -o errexit -o noglob are assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
pkg_glib_install_pkgconfig_post() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
local _pc_path;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
sed -i"" -e '/^Libs:\s/s/-L\${libdir}/& -lffi -lpcre -lz/' \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
"${_pc_path}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
done;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
pkg_glib_host_install_pkgconfig_post() {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
pkg_glib_install_pkgconfig_post;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
e8b3b5 |
# vim:filetype=sh
|