libbytesize: Add depends for gettext-native
PATCH v2 1/1 libbytesize: Add depends for gettext-native
If the local.conf has set 'USE_NLS = "no"' the build of libbytesize will fail with the following message:
| configure: error: in `/build/tmp/work/core2-64-poky-linux/libbytesize/2.0-r0/build': | configure: error: gettext not found | See `config.log' for more details | NOTE: The following config.log files may provide further information. | NOTE: /build/tmp/work/core2-64-poky-linux/libbytesize/2.0-r0/build/config.log | ERROR: configure failed
The issue is that libbytesize needs to full version of gettext in order to configure properly, and not the minimal version which is provided by default when building with 'USE_NLS = "no"'.
Signed-off-by Jason Wessel <[email protected]>
--- meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-support/libbytesize/libbytesize_2.0.bb +1 -0
@@ -20,6 +20,7 @@ DEPENDS += " \ libpcre2 \ gmp \ mpfr \ + gettext-native \ " FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"
Signature · 1 line
2.21.0