summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2022-10-10 23:38:56 +0200
committerAndras Timar <andras.timar@collabora.com>2022-11-07 20:35:46 +0100
commitcbfac11330882c7d0a817b6c37a08b2ace2b66f4 (patch)
tree832725d81c9d6ac82fcae603bfed37f9bc9a6015 /desktop
parentff5783bf669c1ee0832e3b6f57b96f015d029ae9 (diff)
Send build config (configure options) in LOKit version info JSON
Change-Id: I29a6cca467e5f1e9ba59528edefbb397ceb81780 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141197 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Aron Budea <aron.budea@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141494 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 6414a3fe1ca9..6008820da1bb 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -7,6 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#include <config_buildconfig.h>
#include <config_features.h>
#include <stdio.h>
@@ -6539,7 +6540,8 @@ static char* lo_getVersionInfo(SAL_UNUSED_PARAMETER LibreOfficeKit* /*pThis*/)
"\"ProductName\": \"%PRODUCTNAME\", "
"\"ProductVersion\": \"%PRODUCTVERSION\", "
"\"ProductExtension\": \"%PRODUCTEXTENSION\", "
- "\"BuildId\": \"%BUILDID\" "
+ "\"BuildId\": \"%BUILDID\", "
+ "\"BuildConfig\": \"" BUILDCONFIG "\" "
"}"));
}