diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-10-13 18:15:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 09:15:48 -0700 |
commit | b84812256dae57d4bccbe46d7f7956585f57c0d6 (patch) | |
tree | 280568c1c2bbeef9c996c841539baf09513774f7 /.github | |
parent | c40de7c895aca85075dae7b18391928fd46ff5e8 (diff) | |
download | spack-b84812256dae57d4bccbe46d7f7956585f57c0d6.tar.gz spack-b84812256dae57d4bccbe46d7f7956585f57c0d6.tar.bz2 spack-b84812256dae57d4bccbe46d7f7956585f57c0d6.tar.xz spack-b84812256dae57d4bccbe46d7f7956585f57c0d6.zip |
autotools: add attribute to delete libtool archives .la files (#18850)
* autotools: add attribute to delete libtool archives .la files
According to Autotools Mythbuster (https://autotools.io/libtool/lafiles.html)
libtool archive files are mostly vestigial, but they might create issues
when relocating binary packages as shown in #18694.
For GCC specifically, most distributions remove these files with
explicit commands:
https://git.stg.centos.org/rpms/gcc/blob/master/f/gcc.spec#_1303
Considered all of that, this commit adds an easy way for each
AutotoolsPackage to remove every .la file that has been installed.
The default, for the time being, is to maintain them - to be consistent
with what Spack was doing previously.
* autotools: delete libtool archive files by default
Following review this commit changes the default for
libtool archive files deletion and adds test to verify
the behavior.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions