[oe-commits] [openembedded-core] 10/10: pango: respect PTEST_ENABLED
git at git.openembedded.org
git at git.openembedded.org
Wed Oct 3 14:26:46 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 597363d7a56a3fc6b0a286c24c7472444b93273d
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Oct 3 13:29:15 2018 +0100
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 <ross.burton at intel.com>
---
meta/recipes-graphics/pango/pango_1.42.4.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/pango/pango_1.42.4.bb b/meta/recipes-graphics/pango/pango_1.42.4.bb
index fc610a9..22fe3af 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
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list