configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 55a878628e88971a71c43a0cb98cb87cd61787e8
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Wed Nov 23 15:48:27 2022 +0200
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Wed Nov 23 15:56:05 2022 +0200

    Make it possible to run either Writer or Calc in the same Emscripten thing
    
    If no --with-main-module option is used, don't strip either.
    
    To switch, you need to edit the instdir/program/soffice.js . (Or
    static/emscripten/soffice_args.js and re-make.)

diff --git a/configure.ac b/configure.ac
index 8b5214610d3b..c0d3eaf98e26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3992,7 +3992,7 @@ if test "$cross_compiling" = "yes"; then
     if test "$_os" = "Emscripten"; then
         if test "$with_main_module" = "calc"; then
             ENABLE_WASM_STRIP_WRITER=TRUE
-        else
+        elif test "$with_main_module" = "writer"; then
             ENABLE_WASM_STRIP_CALC=TRUE
         fi
     fi

Reply via email to