From: nbd Date: Fri, 7 Mar 2014 18:18:56 +0000 (+0000) Subject: build: add alternative PKG_CONFIG_PATH X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=0e8d33cecb30e7015726b3838eac7f18bd7783db build: add alternative PKG_CONFIG_PATH This is a cryptographically signed message in MIME format. udev Makefile.am has two different .pc files and put them into two locations. Don't know if changing the udev Makefile or changing the pkgconfig paths is the right way - someone has to decide :) udev and vala use an additional pkg-config dir add it to the path discovered because openobex did not find udev.pc Signed-off-by: Dirk Neukirchen git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39792 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/package.mk b/include/package.mk index d14c525506..696e752973 100644 --- a/include/package.mk +++ b/include/package.mk @@ -82,7 +82,7 @@ override MAKEFLAGS= CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME) CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST))) SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE)) -PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig +PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig unexport QUIET ifeq ($(DUMP)$(filter prereq clean refresh update,$(MAKECMDGOALS)),)