[patch] Encode the libgcj soversion in libjava's private dir

Matthias Klose doko@ubuntu.com
Thu Jul 5 13:29:00 GMT 2007


The following patch encodes the libgcj soversion in the name of the private
libjava subdirectory. Currently a directory gcj-X.Y.Z is used, the patch changes
 that to gcj-X.Y.Z-N. This allows installation of multiple gcj versions within
the same prefix, when the soname changes, but not the gcj version number. This
usually happens, if vendors backport more recent versions of libjava to stable
branches (as seen with Fedora, Debian and Ubuntu). There should not be any
references to the private subdirectory, besides from libjava itself. The patch
is in use without problems in the gcj builds for Debian and Ubuntu, and tested
on i686-linux on the trunk.

Ok for trunk?

  Matthias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libgcjversion.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070705/ba187c6d/attachment.ksh>


More information about the Gcc-patches mailing list