aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2012-01-07 19:37:32 +0100
committerMemphiz <memphis@machzwo.de>2012-01-07 19:42:32 +0100
commit11466a8c77415bbb0e2af5384e8678955024db96 (patch)
treecfa314e755e5355a9eebd48b970c7606ad435436 /tools
parente410b27034487e425677abcf70e5fd268d1fc171 (diff)
[osx/ios] - bump curl version to 7.21.6 - this fixes issues with some redirected urls (e.x. used by youtube) - HTTP 302 requests
Diffstat (limited to 'tools')
-rw-r--r--tools/darwin/depends/curl/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/darwin/depends/curl/Makefile b/tools/darwin/depends/curl/Makefile
index 897669c8cb..48f0f9a0e3 100644
--- a/tools/darwin/depends/curl/Makefile
+++ b/tools/darwin/depends/curl/Makefile
@@ -2,12 +2,13 @@ include ../Makefile.include
# lib name, version
LIBNAME=curl
-VERSION=7.19.4
+VERSION=7.21.6
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.bz2
# configuration settings
CONFIGURE=./configure --prefix=$(PREFIX)
+CONFIGURE_IOS=$(CONFIGURE) --with-random=/dev/urandom
LIBDYLIB=$(SOURCE)/.libs/(LIBNAME).dylib
@@ -20,7 +21,11 @@ $(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
rm -rf $(SOURCE)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
echo $(SOURCE) > .gitignore
+ifeq ($(ARCH),armv7)
+ cd $(SOURCE); $(CONFIGURE_IOS)
+else
cd $(SOURCE); $(CONFIGURE)
+endif
$(LIBDYLIB): $(SOURCE)
make -j $(MAKE_JOBS) -C $(SOURCE)