Files
buildroot/package
Vadim Kochan 554fa317ba package/gettext: ensure GETTEXTIZE is always defined
After introducing gettext-tiny in:

	5367a1b253 package/gettext-tiny: new package

GETTEXTIZE variable is conditionally defined separately by gettext-gnu
or gettext-tiny package depending on which of them is
enabled. However, gettext-gnu only defines it when the target
gettext-gnu package is enabled. This is wrong, because the target
gettext-gnu package is only needed when the C library doesn't provide
a proper gettext implementation (uClibc, musl). When glibc is used,
gettext functionality is provided by the toolchain, and the target
gettext-gnu package is not enabled, causing GETTEXTIZE to not be
defined. This causes build failures in packages that need
gettextizing, in configurations that have BR2_SYSTEM_ENABLE_NLS=y and
use glibc.

This commit fixes this issue by defining GETTEXTIZE unconditionally in
package/gettext/gettext.mk. It is not needed to define it in each
gettext-*.mk because the difference is only in passing the 'data_dir'
parameter which points to ${PREFIX}/share/gettext-tiny (in case of
gettext-tiny provider), but a simple symlink:

	${PREFIX}/share/gettext -> ${PREFIX}/share/gettext-tiny

solves this issue.

Reported-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
[Thomas: improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-10 13:35:05 +02:00
..
2019-04-03 22:24:46 +02:00
2019-03-26 22:14:04 +01:00
2019-03-07 22:59:34 +01:00
2019-02-11 22:26:48 +01:00
2019-03-11 22:19:20 +01:00
2019-03-07 21:38:07 +01:00
2019-03-24 09:04:57 +01:00
2019-03-17 12:00:26 +01:00
2019-04-01 22:43:00 +02:00
2019-04-07 08:07:15 +02:00
2019-03-27 19:54:29 +01:00
2019-03-17 17:39:22 +01:00
2019-02-05 17:14:01 +01:00
2019-03-05 10:59:38 +01:00
2019-03-17 11:11:16 +01:00
2019-04-03 22:51:45 +02:00
2019-03-12 22:20:05 +01:00
2019-03-14 21:53:44 +01:00
2019-04-07 08:54:00 +02:00
2019-02-11 21:37:42 +01:00
2019-02-12 20:08:45 +01:00
2019-03-12 21:36:11 +01:00
2019-03-31 20:57:34 +02:00
2019-03-31 12:06:03 +02:00
2019-03-31 12:06:07 +02:00
2019-03-24 09:06:19 +01:00
2019-02-21 00:17:22 +01:00
2019-04-07 15:14:06 +02:00
2019-04-07 10:45:48 +02:00
2019-04-07 08:09:29 +02:00
2019-03-09 21:46:08 +01:00
2019-03-14 21:33:21 +01:00
2019-04-07 16:02:44 +02:00
2019-04-04 23:23:45 +02:00
2019-02-06 15:41:12 +01:00
2019-03-27 00:13:04 +01:00
2019-03-05 10:59:38 +01:00
2019-03-27 20:11:31 +01:00
2019-03-18 22:07:03 +01:00
2019-03-24 09:03:37 +01:00
2019-02-06 15:44:24 +01:00
2019-04-03 21:38:15 +02:00
2019-03-24 23:01:08 +01:00
2019-02-06 12:56:26 +01:00
2019-04-01 22:47:47 +02:00
2019-03-17 11:05:45 +01:00
2019-04-08 22:45:34 +02:00
2019-03-31 13:56:52 +02:00
2019-02-11 09:12:15 +01:00
2019-03-09 15:13:19 +01:00
2019-03-17 12:15:44 +01:00
2019-03-12 23:09:32 +01:00
2019-04-08 22:45:34 +02:00
2019-04-04 21:31:58 +02:00