[OE-core] [PATCH 1/2] pango.inc: limit ptest specific do_compile_prepend to target builds

Andre McCurdy armccurdy at gmail.com
Fri Jan 29 22:08:48 UTC 2016


Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
 meta/recipes-graphics/pango/pango.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index ede1150..63c7d1e 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -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
-- 
1.9.1




More information about the Openembedded-core mailing list