summaryrefslogtreecommitdiff
path: root/mk/host.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-22 17:34:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-22 17:34:12 +0100
commitc17a43a8c5dca2cb2a04b66952243f4122119896 (patch)
tree445067531176e38af481df2d796c44a1d2400f9b /mk/host.mk
parent227f0a2d8bf04d49b52d1569f17905a741932646 (diff)
set PKG_CONFIG_LIBDIR to find pc files in case of host builds
Diffstat (limited to 'mk/host.mk')
-rw-r--r--mk/host.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/host.mk b/mk/host.mk
index 619ec140e..2c07f9665 100644
--- a/mk/host.mk
+++ b/mk/host.mk
@@ -4,6 +4,7 @@
HOST_CONFIGURE_ENV+= AUTOM4TE=${STAGING_HOST_DIR}/usr/bin/autom4te \
CONFIG_SHELL='$(strip ${SHELL})' \
PATH='${TARGET_PATH}' \
+ PKG_CONFIG_LIBDIR='${STAGING_HOST_DIR}/usr/lib/pkgconfig'
CFLAGS='$(strip ${CFLAGS_FOR_BUILD})' \
CXXFLAGS='$(strip ${CXXFLAGS_FOR_BUILD})' \
CPPFLAGS='$(strip ${CPPFLAGS_FOR_BUILD})' \
@@ -21,6 +22,7 @@ HOST_ALL_TARGET?= all
HOST_INSTALL_TARGET?= install
HOST_MAKE_ENV+= PATH='${TARGET_PATH}' \
+ PKG_CONFIG_LIBDIR='${STAGING_HOST_DIR}/usr/lib/pkgconfig'
CFLAGS='$(strip ${CFLAGS_FOR_BUILD})' \
CXXFLAGS='$(strip ${CXXFLAGS_FOR_BUILD})' \
CPPFLAGS='$(strip ${CPPFLAGS_FOR_BUILD})' \