summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/pango
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-10-03 13:29:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-03 16:31:50 +0100
commit57e41b6178bf1d88a901cda862e3e054148e86ac (patch)
tree9bc2744d9dede0b3e86b10ab1598258c66e654e0 /meta/recipes-graphics/pango
parent191f7e2b2fe09ff3276efb68ca91c853291d41f8 (diff)
downloadopenembedded-core-contrib-57e41b6178bf1d88a901cda862e3e054148e86ac.tar.gz
openembedded-core-contrib-57e41b6178bf1d88a901cda862e3e054148e86ac.tar.bz2
openembedded-core-contrib-57e41b6178bf1d88a901cda862e3e054148e86ac.zip
pango: respect PTEST_ENABLED
Don't use the 'ptest' DISTRO_FEATURE because whilst that can be on, PTEST_ENABLED could have been overwritten. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r--meta/recipes-graphics/pango/pango_1.42.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/pango/pango_1.42.4.bb b/meta/recipes-graphics/pango/pango_1.42.4.bb
index fc610a9a5f..22fe3af15d 100644
--- a/meta/recipes-graphics/pango/pango_1.42.4.bb
+++ b/meta/recipes-graphics/pango/pango_1.42.4.bb
@@ -29,7 +29,7 @@ LIBV = "1.8.0"
# This binary needs to be compiled for the host architecture. This isn't pretty!
do_compile_prepend_class-target () {
- if ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
+ if ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then
make CC="${BUILD_CC}" CFLAGS="" LDFLAGS="${BUILD_LDFLAGS}" AM_CPPFLAGS="$(pkg-config-native --cflags glib-2.0)" gen_all_unicode_LDADD="$(pkg-config-native --libs glib-2.0)" -C ${B}/tests gen-all-unicode
fi
}