keg_relocate: don't assume .la files are in lib.
Sometimes they are in e.g. libexec but there's no real reason to assume they are anywhere; we want to relocate them regardless.
This commit is contained in:
parent
1451553188
commit
663f51b88e
@ -183,11 +183,10 @@ class Keg
|
|||||||
def libtool_files
|
def libtool_files
|
||||||
libtool_files = []
|
libtool_files = []
|
||||||
|
|
||||||
# find .la files, which are stored in lib/
|
path.find do |pn|
|
||||||
lib.find do |pn|
|
|
||||||
next if pn.symlink? || pn.directory? || pn.extname != ".la"
|
next if pn.symlink? || pn.directory? || pn.extname != ".la"
|
||||||
libtool_files << pn
|
libtool_files << pn
|
||||||
end if lib.directory?
|
end
|
||||||
libtool_files
|
libtool_files
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user