Merged requested to merge kutelev/libxml2:task/modules into master
dld) seem to be referenced from
xmlmodule.c only, which is built only if
LIBXML_MODULES_ENABLED is defined.
dld) is linked to
libxml2 target unconditionally which results in injecting a redundant dependency.
In order to prevent not needed libraries from being linked to
libxml2, link dl
) to the libxml2
target only ifLIBXML2_WITH_MODULES` feature is explicitly enabled.