diff options
| author | ilovezfs | 2017-09-22 17:10:40 -0700 |
|---|---|---|
| committer | ilovezfs | 2017-09-22 17:10:40 -0700 |
| commit | 352a8817e9e576ca8f2e50949a33904e9da283b7 (patch) | |
| tree | d390bef7e7ab756a2d62b031f83b76922dae922c /Library | |
| parent | 046486900e63c2c86afeda54263a52d623e419d1 (diff) | |
| download | brew-352a8817e9e576ca8f2e50949a33904e9da283b7.tar.bz2 | |
superenv: more help for Autotools with 10.13 SDK on 10.12
Add fmemopen and open_memstream to the list of ac_cv_func_*=no symbols
for 10.12 with the 10.13 SDK.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/extend/ENV/super.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb index 0f6bdb834..5872c2264 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb @@ -99,8 +99,9 @@ module Superenv # Filter out symbols known not to be defined since GNU Autotools can't # reliably figure this out with Xcode 8 and above. if MacOS.version == "10.12" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "9.0" - ENV["ac_cv_func_futimens"] = "no" - ENV["ac_cv_func_utimensat"] = "no" + %w[fmemopen futimens open_memstream utimensat].each do |s| + ENV["ac_cv_func_#{s}"] = "no" + end elsif MacOS.version == "10.11" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0" %w[basename_r clock_getres clock_gettime clock_settime dirname_r getentropy mkostemp mkostemps timingsafe_bcmp].each do |s| |
