diff options
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | distro-configs/LibreOfficeiOS.conf | 12 |
2 files changed, 16 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index f125bd980be9..ce7598305e54 100644 --- a/configure.ac +++ b/configure.ac @@ -633,6 +633,7 @@ darwin*) # Mac OS X or iOS AC_MSG_NOTICE([sanitized the PATH to $PATH]) fi if test "$host_cpu" = "arm64" -o "$enable_ios_simulator" = "yes"; then + build_for_ios=YES _os=iOS test_gtk=no test_cups=no @@ -4379,6 +4380,7 @@ if test "$cross_compiling" = "yes"; then test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit" test -n "$TARFILE_LOCATION" && sub_conf_opts="$sub_conf_opts --with-external-tar=$TARFILE_LOCATION" test "$with_system_icu_for_build" = "yes" -o "$with_system_icu_for_build" = "force" && sub_conf_opts="$sub_conf_opts --with-system-icu" + test "$build_for_ios" = "YES" && sub_conf_opts="$sub_conf_opts build_for_ios=YES" sub_conf_opts="$sub_conf_opts $with_build_platform_configure_options" # Don't bother having configure look for stuff not needed for the build platform anyway ./configure \ @@ -10120,7 +10122,10 @@ fi AC_SUBST(ENABLE_PDFIUM) SYSTEM_GPGMEPP= -if test "$_os" = "Linux" -o "$_os" = "Darwin" -o "$_os" = "WINNT" ; then + +if test "$build_for_ios" = "YES"; then + AC_MSG_CHECKING([gpgmepp disabled due to iOS]) +elif test "$_os" = "Linux" -o "$_os" = "Darwin" -o "$_os" = "WINNT" ; then dnl =================================================================== dnl Check for system gpgme dnl =================================================================== diff --git a/distro-configs/LibreOfficeiOS.conf b/distro-configs/LibreOfficeiOS.conf index 2041cabe51a9..57080907e3d1 100644 --- a/distro-configs/LibreOfficeiOS.conf +++ b/distro-configs/LibreOfficeiOS.conf @@ -27,9 +27,17 @@ --disable-python --without-tls - ---enable-debug --enable-werror +# iOS simulator (debug) +#--enable-ios-simulator +#--enable-debug + +# iOS Device (debug) #--enable-ios-simulator +#--enable-debug +#--host=arm64-apple-darwin + +# iOS Device (release) --host=arm64-apple-darwin + |