Benjamin Reed wrote:
My mistake, I talked to Peter; -release *is* bad. However, my point stands, you're supposed to switch it to "-version-number" (number, as opposed to info) instead, if possible; it depends on what version of libtool you have whether it's available or not.

-version-number was added specifically to keep people from bastardizing the libtool versioning scheme to force it into the numbers you want, since that can lead to unpredictable results if you don't use libtool's algorithm for modifications to source.

Well, from a quick test specifying -release 1.2.1 gives me libfoo-1.2.1.dylib with that install_name and compatibility and current_versions 0, doing -version-number (or Justin's hack) give me install_name libfoo.1.dylib and compatibility_version 4.0.0 current_version 4.1 ... this is not particularly good either way, but unfortunately libtool's versioning scheme on darwin can not be changed without breaking binary compatibility for everyone.


Anyway, if the package uses libtool-1.5 or later -version-number 1:2:1 will do the calculations for you, and give you a lib named libfoo.1.2.1.dylib, but beware of the compatibility and current versions. You may or may not break backward/forward binary compatibility by arbitrarily changing packages like this.

Peter
--
Peter O'Gorman - http://www.pogma.com



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to