In practice, this probably will not link properly even if the pkg-config --static parameter is forced, except on Windows.