Use visibility to limit symbols exported
This mainly address MacOS issues using visibility. The .map files we use serve both at limiting symbols and provide symbol versioning. However to limit symbols using MacOS linker some different files need to be prepared and arguments to linker must be different. Using visibility is more supported by both Meson and multiple systems (Linux due to gcc or clang, MacOS due to clang, Windows).
Signed-off-by: Frediano Ziglio freddy77@gmail.com
Edited by Frediano Ziglio