Re: [PATCH] meson: accept either shared or static libraries if --disable-static

2021-01-26 Thread Philippe Mathieu-Daudé
On 1/26/21 11:27 AM, Paolo Bonzini wrote: > 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 sta

[PATCH] meson: accept either shared or static libraries if --disable-static

2021-01-26 Thread Paolo Bonzini
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