Merge pull request #4444 from ilovezfs/link-fix-undefined

link: fix undefined `dep_f`
This commit is contained in:
ilovezfs 2018-07-10 05:38:06 +01:00 committed by GitHub
commit aa49f97343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ module Homebrew
elsif (MacOS.version >= :mojave || elsif (MacOS.version >= :mojave ||
MacOS::Xcode.version >= "10.0" || MacOS::Xcode.version >= "10.0" ||
MacOS::CLT.version >= "10.0") && MacOS::CLT.version >= "10.0") &&
dep_f.keg_only_reason.reason == :provided_by_macos keg.to_formula.keg_only_reason.reason == :provided_by_macos
opoo <<~EOS opoo <<~EOS
Refusing to link macOS-provided software: #{keg.name} Refusing to link macOS-provided software: #{keg.name}
Instead, pass the full include/library paths to your compiler e.g.: Instead, pass the full include/library paths to your compiler e.g.: