From: Ross Burton Date: Wed, 3 Oct 2018 12:29:15 +0000 (+0100) Subject: pango: respect PTEST_ENABLED X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16508 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e41b6178bf1d88a901cda862e3e054148e86ac;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-graphics/pango/pango_1.42.4.bb b/meta/recipes-graphics/pango/pango_1.42.4.bb index fc610a9a5f9..22fe3af15d7 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 }