Add pkgconfig dirs for all deps under superenv

Fixes Homebrew/homebrew#18367.
This commit is contained in:
Jack Nagel 2013-03-09 16:44:10 -06:00
parent c7c33c9830
commit 149e65cc8a

View File

@ -122,8 +122,8 @@ class << ENV
end end
def determine_pkg_config_path def determine_pkg_config_path
paths = deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/lib/pkgconfig" } paths = all_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/lib/pkgconfig" }
paths += deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/pkgconfig" } paths += all_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/pkgconfig" }
paths.to_path_s paths.to_path_s
end end