Skip to content
Snippets Groups Projects
Commit 35601850 authored by ilovezfs's avatar ilovezfs
Browse files

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: default avatarilovezfs <ilovezfs@icloud.com>
parent 4b2c4ef2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment