diff options
author | Marc-André Lureau | 2022-03-23 16:57:13 +0100 |
---|---|---|
committer | Paolo Bonzini | 2022-04-06 10:50:37 +0200 |
commit | 7f74e8ac750a553b7b2e6cfc85129dd2810206f8 (patch) | |
tree | e09d910f527506dabfdcd2baa3f9ce8755f12df9 | |
parent | meson: use chardev_ss dependencies (diff) | |
download | qemu-7f74e8ac750a553b7b2e6cfc85129dd2810206f8.tar.gz qemu-7f74e8ac750a553b7b2e6cfc85129dd2810206f8.tar.xz qemu-7f74e8ac750a553b7b2e6cfc85129dd2810206f8.zip |
meson: add util dependency for oslib-posix on freebsd
kinfo_getproc() requires it.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-3-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | util/meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build index f6ee74ad0c..bb0b010662 100644 --- a/util/meson.build +++ b/util/meson.build @@ -11,7 +11,11 @@ util_ss.add(when: linux_io_uring, if_true: files('fdmon-io_uring.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('compatfd.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('event_notifier-posix.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('mmap-alloc.c')) -util_ss.add(when: 'CONFIG_POSIX', if_true: files('oslib-posix.c')) +freebsd_dep = [] +if targetos == 'freebsd' + freebsd_dep = util +endif +util_ss.add(when: 'CONFIG_POSIX', if_true: [files('oslib-posix.c'), freebsd_dep]) util_ss.add(when: 'CONFIG_POSIX', if_true: [files('qemu-openpty.c'), util]) util_ss.add(when: 'CONFIG_POSIX', if_true: files('qemu-thread-posix.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('memfd.c')) |