diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-01-26 11:15:33 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-08 14:43:54 +0100 |
commit | d7dedf428fefccc662f367745c21c0041f30a1d6 (patch) | |
tree | ec72d9011ce0d778385add0f2464926a3b5b6e1c /migration/postcopy-ram.h | |
parent | 8db0b20415c129cf5e577a593a4a0372d90b7cc9 (diff) | |
download | qemu-d7dedf428fefccc662f367745c21c0041f30a1d6.zip |
meson: accept either shared or static libraries if --disable-static
Meson's "static" argument to cc.find_library is a tri-state. By default
Meson *prefers* a shared library, which basically means using -l to
look for it; instead, "static: false" *requires* a shared library. Of
course, "static: true" requires a static library, which is all good
for --enable-static builds.
For --disable-static, "static: false" is rarely desirable; it does not
match what the configure script used to do and the test is more complex
(and harder to debug if it fails, which was reported by Peter Lieven
for librbd).
Reported-by: Peter Lieven <pl@kamp.de>
Tested-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration/postcopy-ram.h')
0 files changed, 0 insertions, 0 deletions