aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/os/mac/extend/ENV/shared.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb b/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb
index 7f81ffeb7..a33747203 100644
--- a/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb
@@ -1,2 +1,6 @@
module SharedEnvExtension
+ def no_weak_imports?
+ return false unless compiler == :clang
+ MacOS::Xcode.version >= "8.0" || MacOS::CLT.version >= "8.0"
+ end
end