Merge pull request #2998 from andrewyatz/bugfix/pkgconfiglibdir
Bugfix/pkgconfiglibdir
This commit is contained in:
commit
5327b304a6
@ -138,7 +138,6 @@ module Superenv
|
||||
|
||||
def determine_pkg_config_libdir
|
||||
PATH.new(
|
||||
"/usr/lib/pkgconfig",
|
||||
homebrew_extra_pkg_config_paths,
|
||||
).existing
|
||||
end
|
||||
|
@ -28,7 +28,7 @@ module Superenv
|
||||
# @private
|
||||
def homebrew_extra_pkg_config_paths
|
||||
paths = \
|
||||
["#{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"]
|
||||
["/usr/lib/pkgconfig", "#{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