aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/curl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/curl/Makefile')
-rw-r--r--tools/depends/target/curl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/target/curl/Makefile b/tools/depends/target/curl/Makefile
index 2fc397b8a2..abfa6bd03b 100644
--- a/tools/depends/target/curl/Makefile
+++ b/tools/depends/target/curl/Makefile
@@ -22,7 +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)
-ifeq (darwin, $(findstring darwin, $(HOST)))
+ifeq ($(TARGET_PLATFORM), iphoneos)
cd $(PLATFORM); sed -ie "s/elif defined(HAVE_CLOCK_GETTIME_MONOTONIC)/#elif defined(HAVE_CLOCK_GETTIME_MONOTONIC_NOPE)/" lib/timeval.c
endif
cd $(PLATFORM); $(AUTORECONF) -vif