summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-17 14:56:27 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-17 14:56:27 +0000
commita1cf766955e488e6904dc9a5def1db64bfa60a44 (patch)
tree7cbedccac409d0f1782acccdd1152e6b4dc83569
parentc2c9dd7ff041d6f4eb445ed831c8225aa5b6002d (diff)
prevent pkg-config from looking for .pc files on the host system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5820 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 1edac0e0ac..1b69cf25d6 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -296,7 +296,7 @@ define Build/Configure/Default
CXXFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
- PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
+ PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" \
$(2) \
$(PKG_CONFIG_PATH)/configure \
--target=$(GNU_TARGET_NAME) \