[PATCH] Fix libjawt install

Jakub Jelinek jakub@redhat.com
Thu Mar 17 14:31:00 GMT 2005


On Wed, Mar 16, 2005 at 04:40:22PM -0300, Alexandre Oliva wrote:
> On Mar 15, 2005, Jakub Jelinek <jakub@redhat.com> wrote:
> 
> > Without this, there are problems with relinking libjawt.so during
> > make install.
> 
> What problems?  This shouldn't be necessary, libtool should take care
> of the -L flags itself.  Referencing .libs explicitly is *never*
> correct, since there are boxes on which libtool uses _libs instead of
> .libs.

Without that,
rm -rf /var/tmp/gcc-xxx
make install prefix=/var/tmp/gcc-xxx/usr
fails.  Try to remove all the -L$(here)/.libs from libjava/Makefile.{am,in}
and install, I'm pretty sure you will be able to reproduce it.
libtool decided to relink it and was not able to find the dependent .so
(because it wasn't installed in prefix yet).

	Jakub



More information about the Java-patches mailing list