aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/os/mac/extend/ENV/super.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb
index eacf48813..9e0a25137 100644
--- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb
+++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb
@@ -7,6 +7,10 @@ module Superenv
bin.realpath unless bin.nil?
end
+ def effective_sysroot
+ MacOS::Xcode.without_clt? ? MacOS.sdk_path.to_s : nil
+ end
+
def homebrew_extra_paths
paths = []
# On 10.9, there are shims for all tools in /usr/bin.