summaryrefslogtreecommitdiff
path: root/scp2/source
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-01-18 20:14:54 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-01-19 13:55:08 +0100
commitc18d3f8823a00edcd3dacec4f2052302ab6a70ee (patch)
tree941231cf862b7cdcb99ac8c5637a9efaf759e6f0 /scp2/source
parent6f5186a94dcd1989cdd819e35163af0542912559 (diff)
add --disable-librelogo to disable LibreLogo at build time
Annoyingly the packinfo_*.txt don't support conditionals but we can work-around that with a little duplication. Change-Id: Id00a6831effcc63a917fc21d2cd201474fdb559d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109569 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'scp2/source')
-rw-r--r--scp2/source/python/module_python.scp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scp2/source/python/module_python.scp b/scp2/source/python/module_python.scp
index 1424409c1f9c..343ad94029fb 100644
--- a/scp2/source/python/module_python.scp
+++ b/scp2/source/python/module_python.scp
@@ -24,7 +24,11 @@
#include "AutoInstall/python_scriptprovider"
Module gid_Module_Pyuno
+#ifdef ENABLE_LIBRELOGO
PackageInfo = "packinfo_office.txt";
+#else
+ PackageInfo = "packinfo_librelogo_disabled.txt";
+#endif
ParentID = gid_Module_Root_Brand;
Name = "PyUNO";
Description = "Python-UNO bridge";