diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-02 13:08:08 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-02 13:08:08 +0000 |
commit | 8dc56662d42c30fc1418db88a64e4cfad04e0c79 (patch) | |
tree | 0f150777ac18bcdf1041b5efc934e328897a8e74 /include/package-defaults.mk | |
parent | 3b149b8c2278220d6a35b361fa3e1d6641678529 (diff) | |
download | upstream-8dc56662d42c30fc1418db88a64e4cfad04e0c79.tar.gz upstream-8dc56662d42c30fc1418db88a64e4cfad04e0c79.tar.bz2 upstream-8dc56662d42c30fc1418db88a64e4cfad04e0c79.zip |
Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson (#5255)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16656 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r-- | include/package-defaults.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 1553f2f0d1..753c10227e 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -70,7 +70,7 @@ CONFIGURE_VARS = \ LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ CONFIGURE_PATH = . -CONFIGURE_CMD = $(CONFIGURE_PATH)/configure +CONFIGURE_CMD = ./configure replace_script=$(FIND) $(1) -name $(2) | $(XARGS) chmod u+w; $(FIND) $(1) -name $(2) | $(XARGS) -n1 cp $(SCRIPT_DIR)/$(2); |