aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2015-12-21 10:08:56 +0100
committerMemphiz <memphis@machzwo.de>2016-01-06 15:52:06 +0100
commit9f4a138dbb2d794cddb19f9814b067044f842fab (patch)
treedb76c0a29762c24411a16f82ed056b32ff81ccf1 /tools
parent4d39eaee96fffaec1108c85aceaaa33603baeec9 (diff)
[depends/gnutls/darwin] - fix compilation for tvos
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/target/gnutls/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/depends/target/gnutls/Makefile b/tools/depends/target/gnutls/Makefile
index bbf4fa0a9e..7673e451f2 100644
--- a/tools/depends/target/gnutls/Makefile
+++ b/tools/depends/target/gnutls/Makefile
@@ -10,11 +10,13 @@ ARCHIVE=$(SOURCE).tar.xz
ifeq (darwin, $(findstring darwin, $(HOST)))
# darwins tar doesn't know about xz - so we need our native version of tar here
ARCHIVE_TOOL=$(ARCHIVE_TOOL_NATIVE)
+CONFIGURE_HACKS = ac_cv_func_vfork_works=no
+CONFIGURE_HACKS+= ac_cv_func_fork=no
endif
# configuration settings
CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \
- ./configure --prefix=$(PREFIX) --disable-shared --without-p11-kit --disable-nls --enable-local-libopts --disable-doc
+ ./configure --prefix=$(PREFIX) --disable-shared --without-p11-kit --disable-nls --enable-local-libopts --disable-doc --disable-tests $(CONFIGURE_HACKS)
LIBDYLIB=$(PLATFORM)/lib/.libs/lib$(LIBNAME).a