libtool
[Top][All Lists]
Advanced

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

Re: relinking and finish warnings


From: Joakim Tjernlund
Subject: Re: relinking and finish warnings
Date: Sun, 20 Dec 2009 15:54:03 +0100

Ralf Wildenhues <address@hidden> wrote on 16/12/2009 22:56:44:

> From: Ralf Wildenhues <address@hidden>
> To: Joakim Tjernlund <address@hidden>
> Cc: address@hidden
> Date: 16/12/2009 22:56
> Subject: Re: relinking and finish warnings
>
> Hello Joakim,
>
> * Joakim Tjernlund wrote on Wed, Dec 16, 2009 at 06:15:53PM CET:
> >
> > If I specify a dependency lib like this:
> >   libucsiif_la_LIBADD = $(top_builddir)/ne/upc_uci_if/libuciif.la
> > I get a relink warning:
>
> The warning should be a note.  The note is necessary because users are
> otherwise likely surprised that the compiler/linker is run upon 'make
> install'.
>
> > But I do like this instead:
> >   libucsiif_la_LIBADD = $(DESTDIR)$(libdir)/libuciif.so
>
> That's bogus, and will be wrong when you don't have a preinstalled
> library there.
>
> > Also, how do i get rid of the "remember to run `libtool --finish" warning?
>
> You don't, that warning is not bogus.  If you don't run libtool --finish
> yourself (when the libraries appear in their final location), it may be
> that the installed libraries are not usable before the next reboot (at
> which time systems typically run ldconfig).

It just hit me that I failed to tell you I am using --silent and
when doing that I don't think I should have to see these "warnings"
as these are really not a warning, just a note.

I would expect both AM_LIBTOOLFLAGS=--silent and LIBTOOLFLAGS=--silent
suppress both of them.

 Jocke





reply via email to

[Prev in Thread] Current Thread [Next in Thread]