From 9f4a138dbb2d794cddb19f9814b067044f842fab Mon Sep 17 00:00:00 2001 From: Memphiz Date: Mon, 21 Dec 2015 10:08:56 +0100 Subject: [depends/gnutls/darwin] - fix compilation for tvos --- tools/depends/target/gnutls/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3