summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2022-03-01 11:09:28 +0100
committerVincent Guittot <vincent.guittot@linaro.org>2022-08-13 11:51:13 +0200
commitd3868ea8caa8194a68c6acf462b879c55653d51f (patch)
tree634c08200e3fd3fb5ca7955d186f96c30319ff7a
parent1baa715ebdc305e83bc98f3f6b416ac4e62e6d8a (diff)
Install vhost-user libaryvhost-user-scmi
Install vhots-user library so it can be used by external project Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
-rw-r--r--subprojects/libvhost-user/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/subprojects/libvhost-user/meson.build b/subprojects/libvhost-user/meson.build
index 39825d9404..a0df9c0f58 100644
--- a/subprojects/libvhost-user/meson.build
+++ b/subprojects/libvhost-user/meson.build
@@ -8,6 +8,7 @@ glib = dependency('glib-2.0')
vhost_user = static_library('vhost-user',
files('libvhost-user.c'),
dependencies: threads,
+ install: true,
c_args: '-D_GNU_SOURCE')
executable('link-test', files('link-test.c'),
@@ -16,7 +17,8 @@ executable('link-test', files('link-test.c'),
vhost_user_glib = static_library('vhost-user-glib',
files('libvhost-user-glib.c'),
link_with: vhost_user,
- dependencies: glib)
+ dependencies: glib,
+ install: true)
vhost_user_dep = declare_dependency(link_with: vhost_user_glib,
dependencies: glib,