ENV: fix homebrew_extra_pkg_config_paths
Switch to HOMEBREW_LIBRARY since HOMEBREW_LIBRARY_PATH already includes "/Homebrew" and HOMEBREW_LIBRARY is less confusing. Closes #530. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
4b2c4ef258
commit
356018501b
@ -31,7 +31,7 @@ module Stdenv
|
||||
end
|
||||
|
||||
def homebrew_extra_pkg_config_paths
|
||||
["#{HOMEBREW_LIBRARY_PATH}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"]
|
||||
["#{HOMEBREW_LIBRARY}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"]
|
||||
end
|
||||
|
||||
# Sets architecture-specific flags for every environment variable
|
||||
|
||||
@ -26,7 +26,7 @@ module Superenv
|
||||
# @private
|
||||
def homebrew_extra_pkg_config_paths
|
||||
paths = \
|
||||
["#{HOMEBREW_LIBRARY_PATH}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"]
|
||||
["#{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