aboutsummaryrefslogtreecommitdiffstats
path: root/include/autotools.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-11 18:15:12 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-11 18:15:12 +0000
commite7b094e8496d84578961b7ff2591aa62d913f9c2 (patch)
treec172e1f5ee4655e5fa48ec7461d86edabc940628 /include/autotools.mk
parent59c13202e0923f5365caac1f4d2d4baefad731f6 (diff)
downloadupstream-e7b094e8496d84578961b7ff2591aa62d913f9c2.tar.gz
upstream-e7b094e8496d84578961b7ff2591aa62d913f9c2.tar.bz2
upstream-e7b094e8496d84578961b7ff2591aa62d913f9c2.zip
include: autotools.mk: do not fail in patch-libtool fixup if patch is already applied
SVN-Revision: 28419
Diffstat (limited to 'include/autotools.mk')
-rw-r--r--include/autotools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 1472b5a781..1ce25bc9f6 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -56,7 +56,7 @@ define patch_libtool
lt_version="$$$$($$(STAGING_DIR_HOST)/bin/sed -ne 's,^[[:space:]]*VERSION=\([0-9]\.[0-9]\+\).*,\1,p' $$$$lt)"; \
case "$$$$lt_version" in \
1.5|2.2|2.4) echo "autotools.mk: Found libtool v$$$$lt_version - applying patch to $$$$lt"; \
- (cd $$$$(dirname $$$$lt) && $$(PATCH) -s -p1 < $$(TOPDIR)/tools/libtool/files/libtool-v$$$$lt_version.patch) ;; \
+ (cd $$$$(dirname $$$$lt) && $$(PATCH) -N -s -p1 < $$(TOPDIR)/tools/libtool/files/libtool-v$$$$lt_version.patch || true) ;; \
*) echo "autotools.mk: error: Unsupported libtool version v$$$$lt_version - cannot patch $$$$lt"; exit 1 ;; \
esac; \
done; \