summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2020-08-18 13:47:28 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2020-08-18 14:58:31 +0200
commitb1b1b8f8c1afc35589c3fc7a713def39f71ede97 (patch)
treee82f560ece9555a74589f0a63dc6e220347baee6 /solenv
parent16d9d1d1122bbf9f6dc0748b41826a59a8551716 (diff)
tdf#135432 native-code: Add missing include for locales
While commit ed8bce1909f658d8e3d950f374931242f91ba811 ("fix i18n constructors and android scripts", 2020-08-12) had added the missing constructors to the native-code.py script after commit 155c056b1d4674d5ff73bbb5e1ad1dcd1e6aae36 ("i18npool: create instances with uno constructors", 2020-07-29), the include for the header containing the corresponding 'WITH_LOCALE_*' defines was missing, so expressions like #if WITH_LOCALE_ALL || WITH_LOCALE_ja always evaluated to 0, effectively always keeping the constructors from actually being included. Therefore, add the missing 'config_locales.h' include. Change-Id: Icb00e058cc67a6aedac825c122c151c222f40b43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100915 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'solenv')
-rwxr-xr-xsolenv/bin/native-code.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index d0ebd3147d42..b3a7828460d0 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -809,6 +809,7 @@ print ("""/*
#include <config_features.h>
#include <config_fuzzers.h>
#include <config_gpgme.h>
+#include <config_locales.h>
#include <osl/detail/component-mapping.h>
#include <string.h>