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.
This commit is contained in:
parent
19cfcc34ef
commit
365c55573b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user