chewing / libchewing

libchewing - The intelligent phonetic input method library
https://chewing.im/
GNU Lesser General Public License v2.1
356 stars 89 forks source link

Add back symbol versioning to ELF shared library #543

Closed kanru closed 1 month ago

kanru commented 1 month ago

Is your feature request related to a problem? Please describe.

I plan to introduce new symbols in 0.9.0; symbol versioning will help finer grained version control.

For example we can keep the current libchewing.so.3 soname and package managers can use symbol versions to calculate correct dependency versions.

Describe the solution you'd like

Add symbol version nodes to src/symbols-elf.map and move the symbol map files to capi/src/

Perhaps also specify the MACHO_CURRENT_VERSION and MACHO_COMPATIBILITY_VERSION value for the mach-o target.