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 <jason.wessel@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jason Wessel
2019-07-11 14:48:36 -07:00
committed by Khem Raj
parent 119f046477
commit da057468d7
@@ -20,6 +20,7 @@ DEPENDS += " \
libpcre2 \ libpcre2 \
gmp \ gmp \
mpfr \ mpfr \
gettext-native \
" "
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize"