summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--distro-configs/LibreOfficeEmscripten.conf3
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 812450d2e403..ddebf29f1464 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11745,7 +11745,8 @@ dnl ===================================================================
ENABLE_LIBLANGTAG=
SYSTEM_LIBLANGTAG=
AC_MSG_CHECKING([whether to use liblangtag])
-if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a $_os != Android -a $_os != iOS \); then
+if test "$enable_liblangtag" = "yes" -o
+ \( "$enable_liblangtag" = "" -a $_os != Android -a $_os != iOS -a $_os != Emscripten\); then
ENABLE_LIBLANGTAG=TRUE
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([whether to use system liblangtag])
diff --git a/distro-configs/LibreOfficeEmscripten.conf b/distro-configs/LibreOfficeEmscripten.conf
index b26b4cad59ee..07b20bab1679 100644
--- a/distro-configs/LibreOfficeEmscripten.conf
+++ b/distro-configs/LibreOfficeEmscripten.conf
@@ -31,13 +31,14 @@
--disable-scripting
--disable-graphite
--disable-orcus
+--disable-liblangtag
--without-fonts
--without-java
--without-junit
--without-helppack-integration
--without-system-dicts
--with-theme=no
---with-system-nss=yes
+--with-system-nss
# Build fails when disabling these
#--disable-cairo-canvas