libf2c won't install properly if exec_prefix != prefix
Alexandre Oliva
aoliva@redhat.com
Sun Dec 2 10:41:00 GMT 2001
Toon,
This patch:
2001-10-05 Toon Moene <toon@moene.indiv.nluug.nl>
* Makefile.in: Move libg2c.so and libg2c.{l}a to
the same directory at install.
broke the libf2c install in case prefix != exec_prefix, in the line below:
(cd $(libsubdir)/$(MULTISUBDIR) ; mv -f $(LIBG2C_BASE).* $(prefix)/lib))
$(libdir), that you should have used, is $(exec_prefix)/lib, not
$(prefix)/lib. libraries are machine-dependent, so they go in
exec_prefix.
Anyway, there's more to be fixed about this line. Do you realize
that, when a library is multilibbed, only the last copy of the library
will survive and, even then, its .la file will point into the multilib
directory, but the library will no longer be there?
I strongly recommend removing this line, but I'm curious about the
reason behind your having introduced it.
Cheers,
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc
mailing list