summaryrefslogtreecommitdiffstats
path: root/package/Makefile.in
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-01-14 03:48:13 +0000
committerEric Andersen <andersen@codepoet.org>2007-01-14 03:48:13 +0000
commit4ac03cc86a989c2f86b2cdb7041b854bf9609049 (patch)
treeed1fe069c952e2aac6f037bf880734fab7fe60e3 /package/Makefile.in
parentceb285976563f6ba2c87a17ff92f1b1490df698a (diff)
downloadbuildroot-novena-4ac03cc86a989c2f86b2cdb7041b854bf9609049.tar.gz
buildroot-novena-4ac03cc86a989c2f86b2cdb7041b854bf9609049.zip
filter pkgconfig output to force it do use our staging_dir and not
try to use the system libraries as it is inclined to do
Diffstat (limited to 'package/Makefile.in')
-rw-r--r--package/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 1e10e4c1b..aca3e4b07 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -88,7 +88,11 @@ TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
CPP=$(TARGET_CROSS)cpp \
RANLIB=$(TARGET_CROSS)ranlib \
STRIP=$(TARGET_CROSS)strip \
- OBJCOPY=$(TARGET_CROSS)objcopy
+ OBJCOPY=$(TARGET_CROSS)objcopy \
+ CC_FOR_BUILD="$(HOSTCC)" \
+ PKG_CONFIG_SYSROOT=$(STAGING_DIR) \
+ PKG_CONFIG=$(STAGING_DIR)/usr/bin/pkg-config
+
ifeq ($(BR2_ENABLE_LOCALE),y)
DISABLE_NLS:=