aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorilovezfs2017-09-16 07:04:26 -0700
committerilovezfs2017-09-16 07:04:26 -0700
commit01f52f54e34ce5368c5df64cbe9784be54107f73 (patch)
tree63db9af9e2f56906ebbf0879ff5761d55c7239b0 /Library
parent827723dbac9049e30add51bd0de4219a0afc5670 (diff)
downloadbrew-01f52f54e34ce5368c5df64cbe9784be54107f73.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg_relocate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb
index ad4c01021..085748632 100644
--- a/Library/Homebrew/keg_relocate.rb
+++ b/Library/Homebrew/keg_relocate.rb
@@ -156,7 +156,7 @@ class Keg
libtool_files = []
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
end
libtool_files