X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/00f532fbfcf347bb1947c0a8818c0b7c3fff51f5..68be1e6b8de06cb71ca19103744584e3be101fc8:/include/autotools.mk diff --git a/include/autotools.mk b/include/autotools.mk index 1472b5a78..1ce25bc9f 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; \