[Top][All Lists]

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

[bug-gettext] [bug #37925] preserve time stamp for libintl.h in destinat

From: Bruno Haible
Subject: [bug-gettext] [bug #37925] preserve time stamp for libintl.h in destination folder
Date: Mon, 12 Dec 2016 00:57:08 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

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:


  Message sent via/by Savannah

reply via email to

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