Re: Setting macOS shared library versioning information with scons

Paweł Tomulik <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Organization WUT
Message-ID <[email protected]>
Hi Ryan,

W dniu 09.05.2018 o 19:30, Ryan Schmidt pisze:
> [...]
> 
> 
> 
> The CHANGES.txt entry for scons 2.4.1 states:
> 
> - InstallVersionedLib() doesn't use SHLIBVERSION anymore.
> 
> So the change sounds deliberate. But it doesn't explain why.
> 
AFAIR, the assumption introduced in 2.4.1 was, that InstallVersionedLib
will take the versioned file name/entry as an argument, that is in

InstallVersionedLib(libdir, lib_shared)

the lib_shared points to something, like 'libfoo.so.1.2.3'. The version
info is provided in the file suffix. This was justified by other changes
- the target file produced by linker was defined as the versioned
'libfoo.so.1.2.3', so the target node could be naturally passed to
InstallVersionedLib. The SHLIBVERSION variable found no use in the
installer, as the installer's purpose was to just copy the versioned
library file to the target directory, and eventually create/copy
symlinks libfoo.so -> libfoo.so.1.2.3, libfoo.so.1 -> libfoo.so.1.2.3.


-- 
Pawel Tomulik
_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.