summaryrefslogtreecommitdiff
path: root/external/curl/UnpackedTarball_curl.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-09-18 12:23:44 +0300
committerTor Lillqvist <tml@collabora.com>2020-09-22 20:37:15 +0200
commit812c894ad6a9120b898007ca11809f4a09d89dea (patch)
tree9fe86d5c6395e2f6fb68ee7b467eec29d4715881 /external/curl/UnpackedTarball_curl.mk
parentf8db854ce9d7df501ef1a466c81f92c1ac60ab91 (diff)
tdf#128136: Build curl, nss, and xmlsec for iOS, too
We must link nss statically, including the three dylibs that normally are loaded at run-time, because including bare dylibs in an iOS appp on the App Store is not OK. See https://developer.apple.com/forums/thread/125796 . For linking the softokn3 library statically, NSS already had code, behind NSS_STATIC_SOFTOKEN ifdefs. Introduce two more macros: NSS_STATIC_FREEBL for the freebl library and NSS_STATIC_PKCS11 for the nssckbi library. Turn off parallelism for the sub-make building nss. There seems to be race conditions or something when running simultaneous instances of the nsinstall.py script or the nsinstall program in nss (used when building nss for the build platform). When cross-compiling from macOS, use python3 to run the nsinstall.py script, as it is Python 3. Change-Id: Idd427b5ebf21f802b3feb0d5a3d259317ba8fc67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103106 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'external/curl/UnpackedTarball_curl.mk')
-rw-r--r--external/curl/UnpackedTarball_curl.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/curl/UnpackedTarball_curl.mk b/external/curl/UnpackedTarball_curl.mk
index 2cdfbfc08632..6171f17cba48 100644
--- a/external/curl/UnpackedTarball_curl.mk
+++ b/external/curl/UnpackedTarball_curl.mk
@@ -24,6 +24,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,curl,\
external/curl/curl-msvc-disable-protocols.patch.1 \
external/curl/curl-7.26.0_win-proxy.patch \
external/curl/zlib.patch.0 \
+ external/curl/curl-ios.patch.1 \
))
ifeq ($(SYSTEM_NSS),)