keg_relocate: treat .lai files as libtool files.
Previously .lai files only had their locations replaced with placeholders if /usr/bin/file recognized them as ASCII files, which is only the case on macOS Sierra and above.
This commit is contained in:
parent
827723dbac
commit
01f52f54e3
@ -156,7 +156,7 @@ class Keg
|
|||||||
libtool_files = []
|
libtool_files = []
|
||||||
|
|
||||||
path.find do |pn|
|
path.find do |pn|
|
||||||
next if pn.symlink? || pn.directory? || pn.extname != ".la"
|
next if pn.symlink? || pn.directory? || ![".la", ".lai"].include?(pn.extname)
|
||||||
libtool_files << pn
|
libtool_files << pn
|
||||||
end
|
end
|
||||||
libtool_files
|
libtool_files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user