Project

General

Profile

Feature #2859

Updated by Junxiao Shi over 9 years ago

Build the shared library with `-fvisibility=hidden`, `-fvisibility=hidden` and `-fvisibility-inlines-hidden` flags, and explicitly export every public symbol with a macro.   
 [Benefits](https://gcc.gnu.org/wiki/Visibility) include faster library load time, smaller library size, and lower chance of symbol collision.

Back