summaryrefslogtreecommitdiff
path: root/desktop/Executable_soffice.bin.mk
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-09-20 11:00:35 +0200
committerJan Holesovsky <kendy@suse.cz>2011-09-20 11:01:45 +0200
commit558ebfde8d102ebc298ea887db86ae2918a9a7ab (patch)
treee6ad02f26e3b0e81f129b9070c4fe84913aa56a6 /desktop/Executable_soffice.bin.mk
parent01c557cd33bcbd0e5860fcceee34ad933176e125 (diff)
Avoid officeloader -> soffice renaming dance, build that directly.
Diffstat (limited to 'desktop/Executable_soffice.bin.mk')
-rw-r--r--desktop/Executable_soffice.bin.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/desktop/Executable_soffice.bin.mk b/desktop/Executable_soffice.bin.mk
index 3f6e78ee8b1f..7429b862befe 100644
--- a/desktop/Executable_soffice.bin.mk
+++ b/desktop/Executable_soffice.bin.mk
@@ -45,6 +45,31 @@ $(eval $(call gb_Executable_add_cobjects,soffice.bin,\
desktop/source/app/main \
))
+ifeq ($(OS),WNT)
+
+$(eval $(call gb_Executable_add_linked_static_libs,soffice.bin,\
+ ooopathutils \
+))
+
+ifeq ($(COM),MSC)
+
+$(eval $(call gb_Executable_set_ldflags,soffice.bin,\
+ $$(LDFLAGS) \
+ /STACK:10000000 \
+))
+
+endif
+
+$(eval $(call gb_Executable_add_noexception_objects,soffice.bin,\
+ desktop/win32/source/extendloaderenvironment \
+))
+
+# the resulting executable is called soffice.bin.exe, copy it to soffice.bin
+$(eval $(call gb_Package_Package,soffice.bin,$(OUTDIR)/bin))
+$(eval $(call gb_Package_add_file,soffice.bin,bin/soffice.bin,soffice.bin.exe))
+
+endif
+
ifeq ($(OS),MACOSX)
$(eval $(call gb_Executable_set_ldflags,\