mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c097d111d5
commit
6667bc0b6d
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user