Reported-by: Warner Losh <[email protected]> Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- bsd-user/meson.build | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/bsd-user/meson.build b/bsd-user/meson.build
index 03695493408..a7607e1c884 100644
--- a/bsd-user/meson.build
+++ b/bsd-user/meson.build
@@ -1,3 +1,7 @@
+if not config_host.has_key('CONFIG_BSD')
+ subdir_done()
+endif
+
bsd_user_ss.add(files(
'bsdload.c',
'elfload.c',
--
2.31.1
