Skip to content

Use visibility to limit symbols exported

Frediano Ziglio requested to merge fziglio/usbredir:mr_visibility into master

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

Merge request reports

Loading