diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-08 14:36:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-08 14:36:56 +0000 |
commit | bc4c9e60957128cfbc4c1569e60abb36b59f95d2 (patch) | |
tree | d0b85bb8a8aebb9b14a4b3ba060503b055d971a5 | |
parent | 84043340736710f1d1d0b3c559f29711adff792d (diff) | |
download | upstream-bc4c9e60957128cfbc4c1569e60abb36b59f95d2.tar.gz upstream-bc4c9e60957128cfbc4c1569e60abb36b59f95d2.tar.bz2 upstream-bc4c9e60957128cfbc4c1569e60abb36b59f95d2.zip |
allow package directories to override the path to configure
SVN-Revision: 5722
-rw-r--r-- | include/package.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk index cf8771a5ef..1edac0e0ac 100644 --- a/include/package.mk +++ b/include/package.mk @@ -14,6 +14,7 @@ include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/host.mk include $(INCLUDE_DIR)/unpack.mk +PKG_CONFIG_PATH:=. export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME) define Build/DefaultTargets @@ -297,7 +298,7 @@ define Build/Configure/Default LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \ $(2) \ - ./configure \ + $(PKG_CONFIG_PATH)/configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ |