[Buildroot] [PATCH 1/1] Add $$(PKG)_AUTORECONF_ENV argument to autotools package

Rick Taylor rick at tropicalstormsoftware.com
Thu Jul 17 09:36:16 UTC 2014


>From 017be6459b46388f9377d00c2f48e838ec3ff98b Mon Sep 17 00:00:00 2001
From: Rick Taylor <rick.taylor at cassidian.com>
Date: Thu, 17 Jul 2014 10:04:10 +0100
Subject: [PATCH 1/1] Add $$(PKG)_AUTORECONF_ENV argument to autotools package

Signed-off-by: Rick Taylor <rick.taylor at cassidian.com>
---
 package/pkg-autotools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 50876cb..8d03590 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -228,7 +228,7 @@ endef
 #
 define AUTORECONF_HOOK
         @$$(call MESSAGE,"Autoreconfiguring")
-       $$(Q)cd $$($$(PKG)_SRCDIR) && $$(AUTORECONF) $$($$(PKG)_AUTORECONF_OPT)
+       $$(Q)cd $$($$(PKG)_SRCDIR) && $$($$(PKG)_AUTORECONF_ENV) $$(AUTORECONF) $$($$(PKG)_AUTORECONF_OPT)
         $$(Q)if test "$$($$(PKG)_LIBTOOL_PATCH)" = "YES"; then \
                 for i in `find $$($$(PKG)_SRCDIR) -name ltmain.sh`; do \
                         ltmain_version=`sed -n '/^[      ]*VERSION=/{s/^[         ]*VERSION=//;p;q;}' $$$$i | \
-- 
1.9.1


More information about the buildroot mailing list