meson.build: build introspection according to option only
authorAlexander Kanavin <alex@linutronix.de>
Mon, 2 Jan 2023 14:00:02 +0000 (15:00 +0100)
committerAlexander Kanavin <alex@linutronix.de>
Tue, 3 Jan 2023 07:26:07 +0000 (08:26 +0100)
commitae71d338d79abe5af5ec2437f41c80da0395affc
treea746195ce5b7e120f7a32056a8c1e321f283eb26
parent8b469a2727741a9864eca3e1d56e491ea5db65c2
meson.build: build introspection according to option only

The way the check is written, if the build is native, then the
introspection option has no effect.

Particularly yocto project does want to disable introspection in
native builds and enable it in cross builds (both via the option),
and without this patch the former is not possible.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
meson.build