[Buildroot] [PATCH 3/4] package/Makefile.in: fix per-package build with gettext-gnu

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 30 21:34:21 UTC 2021


On Thu, 30 Dec 2021 21:55:43 +0100
Bernd Kuhls <bernd.kuhls at t-online.de> wrote:

> Building a package which needs -lintl fails because the package
> gettext-gnu, containing this library, is not rsync'ed to the build
> directory.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>

Hu? Could you explain?

>  TARGET_NLS_DEPENDENCIES = host-gettext
>  ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y)
> -TARGET_NLS_DEPENDENCIES += gettext
> +TARGET_NLS_DEPENDENCIES += gettext-gnu

gettext is a virtual package that depends either on gettext-gnu or
gettext-tiny, and both of them provide a libintl implementation.

How can this patch be correct?

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list