summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
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-04 14:21:41 +0100
commit6667bc0b6d45c9054dc0ba5862e2f494f0e89f00 (patch)
treee6edbf71e03713e4bf7ddfe647c9efba9dd4799a /meta/recipes-graphics
parentc097d111d5f4a04d7de5c1e21901cfdef6125924 (diff)
downloadpoky-6667bc0b6d45c9054dc0ba5862e2f494f0e89f00.tar.gz
pango: respect PTEST_ENABLED
Don't use the 'ptest' DISTRO_FEATURE because whilst that can be on, PTEST_ENABLED could have been overwritten. (From OE-Core rev: 57e41b6178bf1d88a901cda862e3e054148e86ac) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-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"
29 29
30# This binary needs to be compiled for the host architecture. This isn't pretty! 30# This binary needs to be compiled for the host architecture. This isn't pretty!
31do_compile_prepend_class-target () { 31do_compile_prepend_class-target () {
32 if ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then 32 if ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then
33 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 33 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
34 fi 34 fi
35} 35}