summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/Package_soffice_bin.mk4
-rw-r--r--scp2/source/ooo/common_brand.scp7
2 files changed, 10 insertions, 1 deletions
diff --git a/desktop/Package_soffice_bin.mk b/desktop/Package_soffice_bin.mk
index d542cb46250f..923742697631 100644
--- a/desktop/Package_soffice_bin.mk
+++ b/desktop/Package_soffice_bin.mk
@@ -9,6 +9,8 @@
$(eval $(call gb_Package_Package,desktop_soffice_bin,$(gb_Executable_BINDIR)))
-$(eval $(call gb_Package_add_file,desktop_soffice_bin,bin/soffice.bin,soffice_bin$(gb_Executable_EXT)))
+$(eval $(call gb_Package_set_outdir,desktop_soffice_bin,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_file,desktop_soffice_bin,$(LIBO_BIN_FOLDER)/soffice.bin,soffice_bin$(gb_Executable_EXT)))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
index 5d95ba7e1105..9692776c159c 100644
--- a/scp2/source/ooo/common_brand.scp
+++ b/scp2/source/ooo/common_brand.scp
@@ -537,10 +537,17 @@ End
#ifndef MACOSX
File gid_Brand_File_Bin_Soffice_Bin
+#ifdef WNT
+// FIXME quick hack
+ Dir = FILELIST_DIR;
+ Name = "desktop_soffice_bin.filelist";
+ Styles = (FILELIST, PACKED);
+#else
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
Styles = (PACKED);
Name = "soffice.bin";
+#endif
End
#endif