Skip to contentSkip to conversation

glib-2.0: fix EXTRA_OECONF append for PTEST

PATCH New Martin Hundebøll 1 participant 1 message Jan 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glib-2.0: fix EXTRA_OECONF append for PTEST

The order of '_append' and '_<override>' matters: '_append' must be before overrides to have any effect.

Fix this in glib-2.0, so that EXTRA_OECONF is appended instead of overwritten.

---
 meta/recipes-core/glib-2.0/glib.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib.inc +1 -1
index 354d95cfe3..af65d80d76 100644
@@ -49,7 +49,7 @@ EXTRA_OECONF = "${PRINTF} ${CORECONF}"
 EXTRA_OECONF_class-native = "${CORECONF} --disable-selinux"
 
 # Tell configure that we'll have dbus-daemon on the target for the tests
-EXTRA_OECONF_class-target_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' ac_cv_prog_DBUS_DAEMON=dbus-daemon', '', d)}"
+EXTRA_OECONF_append_class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' ac_cv_prog_DBUS_DAEMON=dbus-daemon', '', d)}"
 
 do_configure_prepend() {
 	sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in
Signature · 1 line
2.15.1