From 99eb047e1594d0f78832ecae5d8b60509c7da6a4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Feb 2011 12:44:49 +0100 Subject: fix build and runtime dependencies --- scripts/scan-pkgs.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3