meson: Implement macOS exports
Hi,
While researching the bits needed for putting librsvg together, I realised that there was specific logic to export the symbols list for macOS.
Libtool-based libraries also need a similar logic, so I'm backporting the changes needed to complete the cross-platform shared library support.