[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Framework shlib versioning
From: |
Jeff Teunissen |
Subject: |
[PATCH] Framework shlib versioning |
Date: |
Sat, 10 Jan 2004 08:37:47 -0500 |
Some time ago, we had a discussion about frameworks and framework mobility.
One of the things that I brought up was that frameworks are not versioned.
Well, it turns out that frameworks _are_ versioned, but the version used is
that of the $(VERSION) make variable, otherwise only used for building
distributions.
Attached is a patch that makes the shlib version and soname filenames
contain a framework's version name. If a version name contains one or more
periods, it will be split as normal to form the soname filename.
Most of the patch is actually a target.make change that causes this change
to not be circumvented by the shared library build system for the cases
where the version filename and the soname filename are the same (like the
default case of "A").
Obviously, this can assist with libraries as well, because $(VERSION) is not
checked to ensure it has at least one period in it, and because libraries
with a single version element are valid.
This makes it possible to have multiple versions of a framework installed,
and they will still be found by the dynamic linker...which, I am pretty sure
we will all agree is a Good Thing(tm).
--
| Jeff Teunissen -=- Pres., Dusk To Dawn Computing -=- deek @ d2dc.net
| GPG: 1024D/9840105A 7102 808A 7733 C2F3 097B 161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project http://www.quakeforge.net/
| Specializing in Debian GNU/Linux http://www.d2dc.net/~deek/
framework-versioning.diff.gz
Description: GNU Zip compressed data
- [PATCH] Framework shlib versioning,
Jeff Teunissen <=
- Re: [PATCH] Framework shlib versioning, Nicola Pero, 2004/01/12
- Re: [PATCH] Framework shlib versioning, Dennis Leeuw, 2004/01/12
- Re: [PATCH] Framework shlib versioning, Jeff Teunissen, 2004/01/12
- Re: [PATCH] Framework shlib versioning, Nicola Pero, 2004/01/14
- Re: [PATCH] Framework shlib versioning, Jeff Teunissen, 2004/01/15
- Re: [PATCH] Framework shlib versioning, Nicola Pero, 2004/01/16
- Re: [PATCH] Framework shlib versioning, Jeff Teunissen, 2004/01/17
- Re: [PATCH] Framework shlib versioning, Nicola Pero, 2004/01/17
- Re: [PATCH] Framework shlib versioning, Jeff Teunissen, 2004/01/19