]> code.ossystems Code Review - openembedded-core.git/commit
gobject-introspection: Add -Dintrospection only when GIR_MESON_OPTION is not empty
authorKhem Raj <raj.khem@gmail.com>
Fri, 12 Nov 2021 00:59:23 +0000 (16:59 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Nov 2021 16:08:14 +0000 (16:08 +0000)
commitc75a9439154834d45b2be1ac95682586b4409fb4
treef2e79ce55c133dc727e20dff2ea9a968570b6463
parentba251b128baf05fea8ad62bc42dd98584e99ad28
gobject-introspection: Add -Dintrospection only when GIR_MESON_OPTION is not empty

meson now does not allow unknown options which means we have to be
mindful of adding -Dintrospection unconditionally and provide an option
to recipes to set GIR_MESON_OPTION = "" and when recipe does that then
do not add -D<Dintrospection> option to meson. This will help recipes to
use meson 60.x+ just by adding

GIR_MESON_OPTION = ""

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gobject-introspection.bbclass