diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-29 14:08:48 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-31 13:29:48 +0000 |
commit | 70efb8d66163f4341b35f95e3fa6490d162bb092 (patch) | |
tree | aa7267439067dd5174d1d63228418891fb74a114 /meta/recipes-graphics/pango | |
parent | c1273d440294ad628da746556d9d3a53dd5a5e8c (diff) | |
download | poky-70efb8d66163f4341b35f95e3fa6490d162bb092.tar.gz |
pango.inc: limit ptest specific do_compile_prepend to target builds
(From OE-Core rev: 9f099609d0c62877cc89599f5669bb81b209423b)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r-- | meta/recipes-graphics/pango/pango.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc index ede1150f00..63c7d1e1c0 100644 --- a/meta/recipes-graphics/pango/pango.inc +++ b/meta/recipes-graphics/pango/pango.inc | |||
@@ -30,7 +30,7 @@ LEAD_SONAME = "libpango-1.0*" | |||
30 | LIBV = "1.8.0" | 30 | LIBV = "1.8.0" |
31 | 31 | ||
32 | # This binary needs to be compiled for the host architecture. This isn't pretty! | 32 | # This binary needs to be compiled for the host architecture. This isn't pretty! |
33 | do_compile_prepend () { | 33 | do_compile_prepend_class-target () { |
34 | if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then | 34 | if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then |
35 | 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 | 35 | 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 |
36 | fi | 36 | fi |