summaryrefslogtreecommitdiffstats
path: root/Config.in
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2019-02-10 22:38:18 +0100
committerPeter Korsgaard <peter@korsgaard.com>2019-03-27 14:52:20 +0100
commitf5a48dfe271260f78d9673f8038df1257a9111f1 (patch)
tree858744f82f0759e513f989f9ec1cfab530c8da74 /Config.in
parent25e5c401fa3b1082653e0313b9f7bbeac1a06533 (diff)
downloadbuildroot-f5a48dfe271260f78d9673f8038df1257a9111f1.tar.gz
buildroot-f5a48dfe271260f78d9673f8038df1257a9111f1.zip
package/pkg-generic: tweak only .la files that need it
Currently, when we tweak the .la files, we do so unconditionally on all .la files, even those we already fixed in a previous run. This has the nasty side effect that each .la file will be reported as being touched by all packages that are installed after the package that actually installed said .la file. Since we can't easily know what files were installed by a package (that is an instrumentation hook, and comes after the mangling), we use a trick (like is done in libtool?): we do mangle all files, each into a temporary location; if the result is identical to the input, we remove the temporary, while if the result differs from the output, we move the temporary to replace the input. Reported-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 8623cc5deb59747c91687ac5a25087ba694b45a0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'Config.in')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud