Compiling xmlparser on Mac OS X Mojave

Ok I installed ROOT with brew… It worked fine (with no surprise to be honest)
But when it comes to my application I still get the following error message:
ld: library not found for -lXMLParser

This is the reason why I explicitly tried to compile root by myself

(this is linked to this post: Font error on mac os)