From: Nicolas Thill Date: Sun, 17 Dec 2006 14:56:27 +0000 (+0000) Subject: prevent pkg-config from looking for .pc files on the host system X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a98e2a0f270c0989061c73810d7ec32ba3d105c3;p=openwrt%2Fstaging%2Frobimarko.git prevent pkg-config from looking for .pc files on the host system SVN-Revision: 5820 --- 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) \