aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-03-09 16:44:10 -0600
committerJack Nagel2013-03-09 16:45:56 -0600
commit149e65cc8a8858ce1d9c5235a92ed5bfc94dbbbe (patch)
tree85ca10431eb6e6541f90ed2ae1cf34e7537e193a /Library
parentc7c33c98309790075e346f532ff7a49d007542e4 (diff)
downloadbrew-149e65cc8a8858ce1d9c5235a92ed5bfc94dbbbe.tar.bz2
Add pkgconfig dirs for all deps under superenv
Fixes Homebrew/homebrew#18367.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/superenv.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index cd19b8ed0..3225be75d 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -122,8 +122,8 @@ class << ENV
end
def determine_pkg_config_path
- paths = 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}/lib/pkgconfig" }
+ paths += all_deps.map{|dep| "#{HOMEBREW_PREFIX}/opt/#{dep}/share/pkgconfig" }
paths.to_path_s
end