From d413a9639e91a34899b1366c08d9772b1ca3beb1 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 2 Jul 2009 13:08:08 +0000 Subject: [PATCH] Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson (#5255) SVN-Revision: 16656 --- include/package-defaults.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);