On Mon, 1 Apr 2019 at 15:52, Andreas Müller <[email protected]> wrote: > +EXTRA_OEMESON_prepend_class-target = > "-Dintrospection=${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'true', > 'false', d)} " > +EXTRA_OEMESON_prepend_class-native = "-Dintrospection=False " > +EXTRA_OEMESON_prepend_class-nativesdk = "-Dintrospection=False "
Sadly, unlike autotools where the option name comes from a common m4 macro, this is not going to work with meson. There is no common ground between upstreams on how to name this option, and so you get 'gir', 'with_introspection' and anything in between. A better approach would be to introduce a variable: GIR_MESON_OPTION ?= 'introspection' and override it in recipes as needed. Alex Alex -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
