From 149e65cc8a8858ce1d9c5235a92ed5bfc94dbbbe Mon Sep 17 00:00:00 2001 From: Jack Nagel <jacknagel@gmail.com> Date: Sat, 9 Mar 2013 16:44:10 -0600 Subject: [PATCH] Add pkgconfig dirs for all deps under superenv Fixes Homebrew/homebrew#18367. --- Library/Homebrew/superenv.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb index cd19b8ed01..3225be75d0 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 -- GitLab