aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAndrew Yates2017-08-03 17:22:18 +0100
committerGitHub2017-08-03 17:22:18 +0100
commit365c55573b26b9363746ac39c21f8b90e8ec992f (patch)
tree101aa932394aa516999b78eea8c144a32ddd22b1 /Library
parent19cfcc34ef3eb71fcbd45f01b98153fd517a6dfd (diff)
downloadbrew-365c55573b26b9363746ac39c21f8b90e8ec992f.tar.bz2
Moving /usr/lib/pkg-config to be first
Ensuring old functionality still happens and /usr/lib/pkg-config is the first location found in macOS.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/extend/ENV/super.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb
index b93e6d3b1..f50aa5274 100644
--- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb
@@ -28,8 +28,7 @@ module Superenv
# @private
def homebrew_extra_pkg_config_paths
paths = \
- ["#{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"]
- paths << "/usr/lib/pkg-config"
+ ["/usr/lib/pkg-config", "#{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"]
paths << "#{MacOS::X11.lib}/pkgconfig" << "#{MacOS::X11.share}/pkgconfig" if x11?
paths
end