Fix Qt installation warnings.
PRL files are necessary in lib so whitelist them. Debian installs them too: http://packages.debian.org/squeeze/amd64/libqt4-dev/filelist
This commit is contained in:
parent
d4534ec528
commit
c703c6f1ee
@ -328,10 +328,11 @@ class FormulaInstaller
|
|||||||
return unless File.exist? f.lib
|
return unless File.exist? f.lib
|
||||||
|
|
||||||
valid_libraries = %w(.a .dylib .framework .la .o .so)
|
valid_libraries = %w(.a .dylib .framework .la .o .so)
|
||||||
|
allowed_non_libraries = %w(.jar .prl)
|
||||||
non_libraries = f.lib.children.select do |g|
|
non_libraries = f.lib.children.select do |g|
|
||||||
next if g.directory?
|
next if g.directory?
|
||||||
extname = g.extname
|
extname = g.extname
|
||||||
(extname != ".jar") and (not valid_libraries.include? extname)
|
(not allowed_non_libraries.include? extname) and (not valid_libraries.include? extname)
|
||||||
end
|
end
|
||||||
|
|
||||||
unless non_libraries.empty?
|
unless non_libraries.empty?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user