Static linking with libxml2

There is no way to use pkg-config for this? How do we know we are on Alpine, at Edge, using the official package?