aboutsummaryrefslogtreecommitdiff
path: root/block/export/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'block/export/meson.build')
-rw-r--r--block/export/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/export/meson.build b/block/export/meson.build
index ef3a9576f7..fffe6b09e8 100644
--- a/block/export/meson.build
+++ b/block/export/meson.build
@@ -1,2 +1,2 @@
block_ss.add(files('export.c'))
-block_ss.add(when: 'CONFIG_LINUX', if_true: files('vhost-user-blk-server.c', '../../contrib/libvhost-user/libvhost-user.c'))
+block_ss.add(when: ['CONFIG_LINUX', 'CONFIG_VHOST_USER'], if_true: files('vhost-user-blk-server.c'))