From: Lionel Landwerlin Date: Sun, 4 Oct 2009 18:41:55 +0000 (+0200) Subject: Prevent libtool patching before autoreconf when autoreconf is required X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34bba153aca96765aff0c6ff4c84352cb69b94b6;p=buildroot.git Prevent libtool patching before autoreconf when autoreconf is required Signed-off-by: Lionel Landwerlin Tested-By: Sven Neumann Signed-off-by: Peter Korsgaard --- diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index c4c4b1cebc..d36c884f05 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -188,7 +188,8 @@ $(BUILD_DIR)/%/.stamp_extracted: $(BUILD_DIR)/%/.stamp_libtool_patch: $(call MESSAGE,"Patching libtool") # if the package uses libtool, patch it for cross-compiling in buildroot - $(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \ + $(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES" -a \ + "$($(PKG)_AUTORECONF)" != "YES"; then \ for i in `find $(@D) -name ltmain.sh`; do \ toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \ done \