diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-03-16 12:21:44 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-03-16 19:34:19 +0100 |
commit | 8bf542a13aa7272e36462ac6000a13b3a018083f (patch) | |
tree | d55e9e1f4e9200e415ac44885f6daa46d875d036 /configure.ac | |
parent | 0460f3ee99fc09a336ade6aa88b3d9296e553e39 (diff) |
Do build Pdfium for iOS, too
For it to compile, the inclusion of <Carbon/Carbon.h> had to be
replaced with <CoreGraphics/CoreGraphics.h>.
This fixes the crash in
https://github.com/CollaboraOnline/online/issues/1710 . I am not
entirely sure yet whether the actual PDF import functionality now then
works in the iOS app, though.
Change-Id: Ie25e7c58632c0fdddb569d58217f23b26d1e5937
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112572
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index bca3825a31ab..e36325456c82 100644 --- a/configure.ac +++ b/configure.ac @@ -10994,7 +10994,7 @@ AC_SUBST([ENABLE_DCONF]) # pdf import? AC_MSG_CHECKING([whether to build the PDF import feature]) ENABLE_PDFIMPORT= -if test $_os != Android -a $_os != iOS -a \( -z "$enable_pdfimport" -o "$enable_pdfimport" = yes \); then +if test $_os != Android -a \( -z "$enable_pdfimport" -o "$enable_pdfimport" = yes \); then AC_MSG_RESULT([yes]) ENABLE_PDFIMPORT=TRUE AC_DEFINE(HAVE_FEATURE_PDFIMPORT) |