On 02/10/20 13:15, 罗勇刚(Yonggang Luo) wrote: > So the better way is pkg-config handling sttaic properly?
The problem is that you cannot handle it properly. Consider for example libmultipath, which requires the program to define a couple functions for static linking to work. A compile-time check that the library works would fail, and therefore Meson (and configure) are just punting and declaring it a user configuration issue. Meson will warn about it, but it will proceed anyway. Paolo