summaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rw-r--r--deploy/cross-build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/cross-build.sh b/deploy/cross-build.sh
index 54a2929..75c181c 100644
--- a/deploy/cross-build.sh
+++ b/deploy/cross-build.sh
@@ -18,3 +18,9 @@ make -C /src -j"$(nproc)" BUILD=/tmp/build \
mkdir -p /out
cp /tmp/build/bokfd /tmp/build/bokfctl /tmp/build/bokftui \
/tmp/build/bokfweb /out/
+
+# A static glibc program loads its locale data from /usr/lib/locale, which
+# the Alpine runtime does not have: without C.utf8 setlocale() fails and
+# the TUI shows no åäö. Ship Debian's C.utf8 with the binaries.
+mkdir -p /out/locale
+cp -a /usr/lib/locale/C.utf8 /out/locale/