We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40221e9 commit 359d04dCopy full SHA for 359d04d
src/native/libs/build-local.sh
@@ -19,13 +19,10 @@ if [ -n "$EMBED_ICU_DATA_PATH" ]; then
19
header="${INTERMEDIATE_OUTPUT_PATH}embedded_icu_data.h"
20
21
cat <<EOF > "$header"
22
-// Licensed to the .NET Foundation under one or more agreements.
23
-// The .NET Foundation licenses this file to you under the MIT license.
24
-
25
#ifndef EMBEDDED_ICU_DATA
26
#define EMBEDDED_ICU_DATA
27
28
-static unsigned char icu_data[] __attribute__((aligned(16))) = {
+static const unsigned char icu_data[] __attribute__((aligned(16))) = {
29
$(od -An -vtx1 "$EMBED_ICU_DATA_PATH" | tr -d ' \n' | sed 's/\(..\)/0x\1, /g')
30
};
31
0 commit comments