aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2017-01-10 19:21:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-03 09:51:20 +0000
commit85e087d9b323ad87c59900f01aad751c9c7a9e3a (patch)
treef88aa99a470cb6642956d253a592d91af0e6f751 /meta
parented0f9cf63cb1226f9d92377e13ef63e36a95d29d (diff)
downloadopenembedded-core-85e087d9b323ad87c59900f01aad751c9c7a9e3a.tar.gz
openembedded-core-85e087d9b323ad87c59900f01aad751c9c7a9e3a.tar.bz2
openembedded-core-85e087d9b323ad87c59900f01aad751c9c7a9e3a.zip
attr/ea-acl: pass --disable-gettext when USE_NLS=no
Fixes following error in configure: FATAL ERROR: msgfmt does not seem to be installed. attr cannot be built without a working gettext installation. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/attr/ea-acl.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index 583ca1f84c..b3ca65e688 100644
--- a/meta/recipes-support/attr/ea-acl.inc
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -10,6 +10,7 @@ inherit autotools-brokensep gettext
EXTRA_AUTORECONF += "--exclude=autoheader"
EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
EXTRA_OECONF_append_class-native = " --enable-gettext=no"
+EXTRA_OECONF_append_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS', True) == 'no')]}"
EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}"