diff options
Diffstat (limited to 'tools/depends/target/curl/Makefile')
-rw-r--r-- | tools/depends/target/curl/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/depends/target/curl/Makefile b/tools/depends/target/curl/Makefile index 9ca896c380..d1f01501dc 100644 --- a/tools/depends/target/curl/Makefile +++ b/tools/depends/target/curl/Makefile @@ -3,7 +3,11 @@ DEPS= ../../Makefile.include Makefile # lib name, version LIBNAME=curl +ifeq (osx, $(findstring osx, $(OS))) +VERSION=7.21.6 +else VERSION=7.39.0 +endif SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.bz2 # configuration settings @@ -22,6 +26,9 @@ $(TARBALLS_LOCATION)/$(ARCHIVE): $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) +ifeq (osx, $(findstring osx, $(OS))) + cd $(PLATFORM); patch -p1 < ../0001-HTTP-reset-expected-DL-UL-sizes-on-redirects.patch +endif cd $(PLATFORM); $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) |