build-sys: fix -static linking of libvhost-user
commit953d5a9ef326da80b2abc37f73c6e8525c3da033
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 15 Dec 2020 08:03:19 +0000 (15 12:03 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Jan 2021 20:03:36 +0000 (2 21:03 +0100)
tree6767ba250684563ca84aba53e1f768f1c281b1d6
parenta111824382dad27db8c358b2b9b26cdf30eaf49f
build-sys: fix -static linking of libvhost-user

Fix linking vhost-user binaries with with ./configure -static, by
overriding glib-2.0 dependency with configure results.

Fixes: 0df750e9d3a5fea5e1 ("libvhost-user: make it a meson subproject")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20201215080319.136228-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build