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

SVN-Revision: 5820
master
Nicolas Thill 18 years ago
parent a66298ef8a
commit a98e2a0f27
  1. 2
      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) \

Loading…
Cancel
Save