X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fpkg-config;h=d604ffc6caf92ef1aa7ac280bdcedc9e4f65ac85;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=15d34e6328136edf7e273ef4809303abfefc8d57;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage2/pkg/pkg-config b/stage2/pkg/pkg-config index 15d34e6..d604ffc 100644 --- a/stage2/pkg/pkg-config +++ b/stage2/pkg/pkg-config @@ -1,7 +1,16 @@ #!/bin/bash +hvconfig_pre() +{ + export GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" + export GLIB_LIBS="-lglib-2.0" +} + hvbuild_post() { var_add_path "PKG_CONFIG_PATH" /etc/profile "/usr/local/lib/pkgconfig" var_export "PKG_CONFIG_PATH" /etc/profile + + unset GLIB_CFLAGS + unset GLIB_LIBS }