mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
dropwatch: use new gettext logic
This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of relying on binutils depending on gettext/host-gettext - using TARGET_NLS_LIBS to force linking against libintl Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -6,18 +6,16 @@
|
|||||||
|
|
||||||
DROPWATCH_VERSION = 7c33d8a8ed105b07a46b55d71d93b36ed34c16db
|
DROPWATCH_VERSION = 7c33d8a8ed105b07a46b55d71d93b36ed34c16db
|
||||||
DROPWATCH_SITE = git://git.infradead.org/users/nhorman/dropwatch.git
|
DROPWATCH_SITE = git://git.infradead.org/users/nhorman/dropwatch.git
|
||||||
DROPWATCH_DEPENDENCIES = binutils libnl readline host-pkgconf
|
DROPWATCH_DEPENDENCIES = binutils libnl readline host-pkgconf \
|
||||||
|
$(TARGET_NLS_DEPENDENCIES)
|
||||||
DROPWATCH_LICENSE = GPL-2.0
|
DROPWATCH_LICENSE = GPL-2.0
|
||||||
DROPWATCH_LICENSE_FILES = COPYING
|
DROPWATCH_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
# libbfd may be linked to libintl
|
# libbfd may be linked to libintl
|
||||||
# Ugly... but LDLIBS are hardcoded anyway
|
# Ugly... but LDLIBS are hardcoded anyway
|
||||||
DROPWATCH_LDLIBS = \
|
DROPWATCH_LDLIBS = \
|
||||||
-lbfd -lreadline -lnl-3 -lnl-genl-3 -lpthread -lncurses -lm
|
-lbfd -lreadline -lnl-3 -lnl-genl-3 -lpthread -lncurses -lm \
|
||||||
|
$(TARGET_NLS_LIBS)
|
||||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
||||||
DROPWATCH_LDLIBS += -lintl
|
|
||||||
endif
|
|
||||||
|
|
||||||
define DROPWATCH_BUILD_CMDS
|
define DROPWATCH_BUILD_CMDS
|
||||||
$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||||
|
|||||||
Reference in New Issue
Block a user