aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/curl/Makefile
diff options
context:
space:
mode:
authorulion <ulion2002@gmail.com>2014-01-22 07:47:14 +0800
committerulion <ulion2002@gmail.com>2014-01-22 11:04:13 +0800
commit687cf705c0976953fbbdccc35d5c24d8827ff876 (patch)
treea8b1d7e3dfe8c6126157bd45a02ffa48c5d7e205 /tools/depends/target/curl/Makefile
parentc914d10206ecf2afbb619cdd68b004d61962e5c6 (diff)
Fix redirected stream content-length. Fix #14647
Diffstat (limited to 'tools/depends/target/curl/Makefile')
-rw-r--r--tools/depends/target/curl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/depends/target/curl/Makefile b/tools/depends/target/curl/Makefile
index 7dcf84866e..f81c01228c 100644
--- a/tools/depends/target/curl/Makefile
+++ b/tools/depends/target/curl/Makefile
@@ -1,5 +1,5 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile
+DEPS= ../../Makefile.include Makefile 0001-HTTP-reset-expected-DL-UL-sizes-on-redirects.patch
# lib name, version
LIBNAME=curl
@@ -22,6 +22,7 @@ $(TARBALLS_LOCATION)/$(ARCHIVE):
$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
+ cd $(PLATFORM); patch -p1 < ../0001-HTTP-reset-expected-DL-UL-sizes-on-redirects.patch
cd $(PLATFORM); $(CONFIGURE)
$(LIBDYLIB): $(PLATFORM)