ppc/pnv: use a do-while() loop in pnv_phb3_translate_tve()
[qemu.git] / subprojects / libvhost-user / meson.build
blob39825d9404aeef605dc9c69d30d1d92fcf84fe98
1 project('libvhost-user', 'c',
2         license: 'GPL-2.0-or-later',
3         default_options: ['c_std=gnu99'])
5 threads = dependency('threads')
6 glib = dependency('glib-2.0')
8 vhost_user = static_library('vhost-user',
9                             files('libvhost-user.c'),
10                             dependencies: threads,
11                             c_args: '-D_GNU_SOURCE')
13 executable('link-test', files('link-test.c'),
14            link_whole: vhost_user)
16 vhost_user_glib = static_library('vhost-user-glib',
17                                  files('libvhost-user-glib.c'),
18                                  link_with: vhost_user,
19                                  dependencies: glib)
21 vhost_user_dep = declare_dependency(link_with: vhost_user_glib,
22                                     dependencies: glib,
23                                     include_directories: include_directories('.'))