prevent pkg-config from looking for .pc files on the host system

SVN-Revision: 5820
This commit is contained in:
Nicolas Thill 2006-12-17 14:56:27 +00:00
parent a66298ef8a
commit a98e2a0f27

View File

@ -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) \