aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/curl
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2016-09-23 09:28:58 +0200
committerMemphiz <memphis@machzwo.de>2016-12-23 17:34:44 +0100
commit0dc08dc0082b397977b2a64a3ae6daba02c1d2ad (patch)
tree62c2b453e5c6d2452cc862ae8872430ac0407bd7 /tools/depends/target/curl
parent1a33bca2a650fb420395f4f9f4a53c44670a3eee (diff)
[depends/curl] - on ios ensure clock_gettime is not used in curl (it ignores the ac_cv flag)
Diffstat (limited to 'tools/depends/target/curl')
-rw-r--r--tools/depends/target/curl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/depends/target/curl/Makefile b/tools/depends/target/curl/Makefile
index bbbd1076bb..59bda90ed3 100644
--- a/tools/depends/target/curl/Makefile
+++ b/tools/depends/target/curl/Makefile
@@ -30,6 +30,9 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
ifeq (osx, $(findstring osx, $(OS)))
cd $(PLATFORM); patch -p1 < ../0001-HTTP-reset-expected-DL-UL-sizes-on-redirects.patch
endif
+ifeq (darwin, $(findstring darwin, $(HOST)))
+ cd $(PLATFORM); sed -ie "s/elif defined(HAVE_CLOCK_GETTIME_MONOTONIC)/#elif defined(HAVE_CLOCK_GETTIME_MONOTONIC_NOPE)/" lib/timeval.c
+endif
cd $(PLATFORM); $(CONFIGURE)
$(LIBDYLIB): $(PLATFORM)