summaryrefslogtreecommitdiff
path: root/tools/x-win
diff options
context:
space:
mode:
Diffstat (limited to 'tools/x-win')
-rwxr-xr-xtools/x-win/compile.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/x-win/compile.sh b/tools/x-win/compile.sh
index 8db9d984af..b1e78e1535 100755
--- a/tools/x-win/compile.sh
+++ b/tools/x-win/compile.sh
@@ -73,6 +73,9 @@ LDFLAGS="-L${PREFIX}/lib" ./waf configure \
--prefix=${PREFIX}
./waf ${CONCURRENCY}
+if [ "$(id -u)" = "0" ]; then
+ apt-get -qq -y install gettext
+fi
echo " === build complete, creating translations"
./waf i18n
echo " === done"