summaryrefslogtreecommitdiff
path: root/package/hal/hal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/hal/hal.mk')
-rw-r--r--package/hal/hal.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hal/hal.mk b/package/hal/hal.mk
index 262fc41bc..801fe9275 100644
--- a/package/hal/hal.mk
+++ b/package/hal/hal.mk
@@ -79,7 +79,7 @@ $(TARGET_DIR)/$(HAL_TARGET_BINARY): $(HAL_DIR)/hald/hald
rm -f $(TARGET_DIR)/usr/libexec/$$file; \
done
-hal: host-pkg-config host-libxml-parser-perl dbus-glib hwdata udev $(TARGET_DIR)/$(HAL_TARGET_BINARY)
+hal: host-pkg-config host-libxml-parser-perl dbus-glib hwdata udev $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) $(TARGET_DIR)/$(HAL_TARGET_BINARY)
hal-clean:
rm -f $(TARGET_DIR)/etc/dbus-1/system.d/hal.conf