diff options
Diffstat (limited to 'desktop/Executable_soffice_bin.mk')
-rw-r--r-- | desktop/Executable_soffice_bin.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/desktop/Executable_soffice_bin.mk b/desktop/Executable_soffice_bin.mk index a3c3ff258613..ce908c1be318 100644 --- a/desktop/Executable_soffice_bin.mk +++ b/desktop/Executable_soffice_bin.mk @@ -47,4 +47,12 @@ endif endif +ifeq ($(OS),EMSCRIPTEN) + +$(eval $(call gb_Executable_add_ldflags,soffice_bin,\ + -s EXPORTED_FUNCTIONS=["_main"$(COMMA)"_libreofficekit_hook"$(COMMA)"_libreofficekit_hook_2"$(COMMA)"_lok_preinit"$(COMMA)"_lok_preinit_2"] \ +)) + +endif + # vim: set ts=4 sw=4 et: |