Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
#
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
: ${PKG_GLIB_CONFIG_CACHE_EXTRA:="
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
ac_cv_func_posix_getgrgid_r=yes
Lucio Andrés Illanes Albornoz bf9edf
ac_cv_func_posix_getpwuid_r=yes
Lucio Andrés Illanes Albornoz bf9edf
glib_cv_eventfd=no
Lucio Andrés Illanes Albornoz bf9edf
glib_cv_stack_grows=yes
Lucio Andrés Illanes Albornoz bf9edf
glib_cv_uscore=yes"};
Lucio Andrés Illanes Albornoz bf9edf
: ${PKG_GLIB_HOST_CONFIG_CACHE_EXTRA:="${PKG_GLIB_CONFIG_CACHE_EXTRA}"};
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
Lucio Andrés Illanes Albornoz 77addc
pkg_glib_install_files_post() {
Lucio Andrés Illanes Albornoz 907bd3
	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 bf9edf
		if ! sed -i"" -e '/^Libs:/s/^\(Libs:\s\+-L\${libdir}\)\s\+\(.\+\)$/\1 \2 -lffi -lpcre -lz/' "${_pc_path}"; then
Lucio Andrés Illanes Albornoz bf9edf
			return 1;
Lucio Andrés Illanes Albornoz bf9edf
		fi;
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 77addc
pkg_glib_host_install_files_post() {
Lucio Andrés Illanes Albornoz 77addc
	pkg_glib_install_files_post;
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
};
Lucio Andrés Illanes Albornoz (arab, vxp) e8b3b5
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0