]> code.ossystems Code Review - openembedded-core.git/commitdiff
pango.inc: limit ptest specific do_compile_prepend to target builds
authorAndre McCurdy <armccurdy@gmail.com>
Fri, 29 Jan 2016 22:08:48 +0000 (14:08 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Jan 2016 11:40:25 +0000 (11:40 +0000)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/pango/pango.inc

index ede1150f003f654b3aaa3a3cb9a81257543239bb..63c7d1e1c0fb20540bb559ead0e945c3a4003b34 100644 (file)
@@ -30,7 +30,7 @@ LEAD_SONAME = "libpango-1.0*"
 LIBV = "1.8.0"
 
 # This binary needs to be compiled for the host architecture.  This isn't pretty!
-do_compile_prepend () {
+do_compile_prepend_class-target () {
        if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
                make CC="${BUILD_CC}" CFLAGS="" 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