summaryrefslogtreecommitdiff
path: root/mk/pkgconfig.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/pkgconfig.mk')
-rw-r--r--mk/pkgconfig.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/pkgconfig.mk b/mk/pkgconfig.mk
index 498e900..a4fd50b 100644
--- a/mk/pkgconfig.mk
+++ b/mk/pkgconfig.mk
@@ -34,9 +34,11 @@ PKGCONFIG_BUILD_DIR := $(TOOLS_BUILD)/pkg-config-$(PKGCONFIG_VERSION)
PKGCONFIG_BIN := $(HOSTTOOLS)/usr/bin/pkg-config
EMBTK_PKG_CONFIG_PATH := $(SYSROOT)/usr/$(LIBDIR)/pkgconfig
-
export PKGCONFIG_BIN EMBTK_PKGCONFIGPATH
+PKGCONFIG_PREFIX := /usr
+PKGCONFIG_DESTDIR := $(HOSTTOOLS)
+
pkgconfig_install:
$(call EMBTK_INSTALL_HOSTPKG,PKGCONFIG)