xml2-config: Add a --dynamic switch to print only shared libraries

Merged Hugh McMaster requested to merge hmc/libxml2:sharedlib into master

xml2-config --libs prints static library linking information by default. This is un-necessary for most programs, so introduce a new option, --dynamic, which, when combined with --libs, only prints shared library linking information.

Merge request reports