Re: Libtool versioning made easy (was Re: Converting libraries and plugins to use gtk3

On Wed, 2010-06-30 at 15:43 -0400, Behdad Esfahbod wrote:

> In your src/ add "-version-info $(LT_VERSION_INFO)" to your
> library's LDFLAGS.

Or you could just do it directly:

libX11_la_LDFLAGS = -version-number 6:3:0 -no-undefined

gives you

libtool very sensibly only really documents -version-info because, in
this one instance, they chose to implement something so utterly
orthogonal to any library versioning scheme ever seen in the wild as to
be unusable, instead of their usual strategy of implementing something
so lowest-common-denominator as to be unusable.

- ajax

Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]