mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
libosinfo: build vapi only if gobject-introspection is enabled
this fixes: meson.build:40:8: ERROR: Problem encountered: vala support was requested, but introspection support is mandatory. Signed-off-by: Markus Volk <f_l_k@t-online.de> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -23,10 +23,10 @@ GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||
GTKDOC_MESON_OPTION = "enable-gtk-doc"
|
||||
|
||||
EXTRA_OEMESON = " \
|
||||
EXTRA_OEMESON += " \
|
||||
-Dwith-pci-ids-path=${datadir}/pci.ids \
|
||||
-Dwith-usb-ids-path=${datadir}/usb.ids \
|
||||
-Denable-vala=enabled \
|
||||
${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Denable-vala=enabled', '-Denable-vala=disabled', d)} \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} = "pciutils-ids usbids"
|
||||
|
||||
Reference in New Issue
Block a user