Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide non-public symbols with LD version script
Version scripts provides information that can be used by GNU/Linux distribution packaging tools. For example, Debian has a tool dpkg-shlibdeps that can determine the minimal required version of each dependency (by looking at the symbol list) and stuff the information into the Debian specific packaging files. We can utilize such feasture to reduce the size of shared library as well. [orig] $ size build/libdcurl.so text data bss dec hex filename 16836 840 168 17844 45b4 build/libdcurl.so [LD-version-script] $ size build/libdcurl.so text data bss dec hex filename 15472 760 168 16400 4010 build/libdcurl.so
- Loading branch information