summaryrefslogtreecommitdiff
path: root/scripts/scan-pkgs.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-05 12:44:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-05 12:44:49 +0100
commit99eb047e1594d0f78832ecae5d8b60509c7da6a4 (patch)
treee30ffbf34eda2ec1e928ecab45226e72fe1c0196 /scripts/scan-pkgs.sh
parent3b3487b093985fe757afe581de713279ff8fc7e7 (diff)
fix build and runtime dependencies
Diffstat (limited to 'scripts/scan-pkgs.sh')
-rw-r--r--scripts/scan-pkgs.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh
index b41556b22..ec64d1550 100644
--- a/scripts/scan-pkgs.sh
+++ b/scripts/scan-pkgs.sh
@@ -107,6 +107,10 @@ if [[ -n $ADK_PACKAGE_EGLIBC ]]; then
NEED_GPERF="$NEED_GPERF eglibc"
fi
+if [[ -n $ADK_PACKAGE_GLIB ]]; then
+ NEED_GETTEXT="$NEED_GETTEXT glib"
+fi
+
if [[ -n $ADK_PACKAGE_FONT_BITSTREAM_100DPI ]]; then
NEED_MKFONTDIR="$NEED_MKFONTDIR font-bitstream-100dpi"
fi
@@ -127,9 +131,9 @@ if [[ -n $NEED_GETTEXT ]]; then
if ! which gettext >/dev/null 2>&1; then
echo >&2 You need gettext to build $NEED_GETTEXT
out=1
-# elif ! which msgfmt >/dev/null 2>&1; then
-# echo >&2 You need msgfmt to build $NEED_GETTEXT
-# out=1
+ elif ! which msgfmt >/dev/null 2>&1; then
+ echo >&2 You need msgfmt to build $NEED_GETTEXT
+ out=1
fi
fi