diff options
Diffstat (limited to 'vars')
-rw-r--r-- | vars/glib.vars | 17 | ||||
l--------- | vars/glib_host.vars | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/vars/glib.vars b/vars/glib.vars new file mode 100644 index 00000000..86de74ee --- /dev/null +++ b/vars/glib.vars @@ -0,0 +1,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 diff --git a/vars/glib_host.vars b/vars/glib_host.vars new file mode 120000 index 00000000..e3369ea4 --- /dev/null +++ b/vars/glib_host.vars @@ -0,0 +1 @@ +glib.vars
\ No newline at end of file |