summaryrefslogtreecommitdiffstats
path: root/SCons/Tool/linkCommon/LoadableModule.py
Commit message (Collapse)AuthorAgeFilesLines
* Add some cheap return and parameter annotationsMats Wichmann2023-05-011-2/+2
| | | | | | | | | | | | | | | | | Use: https://github.com/JelleZijlstra/autotyping to add "safe" return annotations. Where a parameter has a default value that is an obvious scalar type (bool, int, str, etc.) add those annotations as well. Also fixed two small bugs that popped up when sanity-checking with mypy. One in FortranCommon, where a return had been previously annotated to be a tuple of Action, which should be ActionBase - Action is the factory function, not the base class. The other was a typo in the error raised in _add_cppdefines - the message was formatted with the value of "define" which should have been "defines". Signed-off-by: Mats Wichmann <mats@linux.com>
* fix copyright text, remove SHDLIBVERSION entirely. Never worked before, and ↵William Deegan2021-01-151-0/+23
| | | | doesn't make sense. Use SHLIBVERSION instead. TODO: Fix soname generation for command line
* Fix typo in gdc. Swap out subst logic with python function to calculate ↵William Deegan2020-12-211-2/+13
| | | | .LDMODULEVERSION vs ''
* Fix versioned shared library naming so numbering is after SHLIBSUFFIX. ↵William Deegan2020-12-211-3/+3
| | | | Handle the case where the library name and the SONAME match and don't symlink them together
* initial checkin of versioned shared library rewriteWilliam Deegan2020-12-211-0/+97