add STAGING_DIR_HOST to PKG_CONFIG_PATH
authorFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 00:41:01 +0000 (00:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 23 Dec 2007 00:41:01 +0000 (00:41 +0000)
SVN-Revision: 9850

include/package-defaults.mk

index d6adb1a17a011e5526771e548048a8fced0861f4..418b22850541174720909d1b415c91bb65c074fb 100644 (file)
@@ -66,7 +66,7 @@ CONFIGURE_VARS = \
                CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
                CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
                LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
-               PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
+               PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR_HOST)/usr/lib/pkgconfig" \
                PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig"
 
 CONFIGURE_PATH = .