]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
sed_opal: Only build when we really have sed_opal headers
authorWarner Losh <imp@bsdimp.com>
Mon, 29 Apr 2024 17:43:53 +0000 (11:43 -0600)
committerDaniel Wagner <wagi@monom.org>
Tue, 30 Apr 2024 09:39:28 +0000 (11:39 +0200)
commit05f684a6cc13cb2c9583fcbc17d6d855c77a90e3
tree81275e71ceca2434e1eb714ac437332e9439be39
parent4ee2ccc79d164f0aacf1f21aac5e7598e1581f69
sed_opal: Only build when we really have sed_opal headers

There's already code to not build the sed opal plugin when the necessary
headers aren't present. However, it doesn't work, since HAVE_SED_OPAL is
always defined to be either 0 or 1, so the meson has() return true, even
when the value is 0, causing the sed-opal plugin to build, even when the
header files it needs are missing.

Signed-off-by: Warner Losh <imp@bsdimp.com>
plugins/meson.build