summaryrefslogtreecommitdiff
path: root/dev-util/pkgconfig/pkgconfig-0.28-r3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/pkgconfig/pkgconfig-0.28-r3.ebuild')
-rw-r--r--dev-util/pkgconfig/pkgconfig-0.28-r3.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-util/pkgconfig/pkgconfig-0.28-r3.ebuild b/dev-util/pkgconfig/pkgconfig-0.28-r3.ebuild
index 97ed77bde110..8b858b94d1b6 100644
--- a/dev-util/pkgconfig/pkgconfig-0.28-r3.ebuild
+++ b/dev-util/pkgconfig/pkgconfig-0.28-r3.ebuild
@@ -71,7 +71,7 @@ multilib_src_configure() {
append-ldflags "-L${EPREFIX}/usr/$(get_libdir)"
fi
else
- if ! has_version dev-util/pkgconfig; then
+ if ! has_version --host-root dev-util/pkgconfig; then
export GLIB_CFLAGS="-I${EPREFIX}/usr/include/glib-2.0 -I${EPREFIX}/usr/$(get_libdir)/glib-2.0/include"
export GLIB_LIBS="-lglib-2.0"
fi