Follow-up Comment #2, bug #37925 (project gettext):

> After running install target without changing any code libintl.h in
declination folder installed with new time without changes This is triggering
compilation for other library who include libintl.h 

Even if libintl.h has not changed, the libintl.a that is being installed at
the same time may have changed. Therefore relinking of the libraries or
executables that make use of libintl.a may be needed, but the compiler has no
way to know it, because the Makefile rules typically do not have the .a files
as dependencies, and AFAIK gcc's dependency mechanism looks at the included .h
files, not at the linked .a files.

Therefore, really, the only reliable behaviour is that libintl.h and libintl.a
are being considered "new", thus your project gets recompiled.

I guess that's also the reason why the install(1) program does not have an
option to skip installation if the contents won't change.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37925>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to