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
|
def determine_pkg_config_libdir
|
||||||
PATH.new(
|
PATH.new(
|
||||||
"/usr/lib/pkgconfig",
|
|
||||||
homebrew_extra_pkg_config_paths,
|
homebrew_extra_pkg_config_paths,
|
||||||
).existing
|
).existing
|
||||||
end
|
end
|
||||||
|
@ -28,7 +28,7 @@ module Superenv
|
|||||||
# @private
|
# @private
|
||||||
def homebrew_extra_pkg_config_paths
|
def homebrew_extra_pkg_config_paths
|
||||||
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 << "#{MacOS::X11.lib}/pkgconfig" << "#{MacOS::X11.share}/pkgconfig" if x11?
|
||||||
paths
|
paths
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user