Skip to content

Commit

Permalink
Merge pull request #4444 from ilovezfs/link-fix-undefined
Browse files Browse the repository at this point in the history
link: fix undefined `dep_f`
  • Loading branch information
ilovezfs authored Jul 10, 2018
2 parents 4ddb112 + 461b61a commit aa49f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/link.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def link
elsif (MacOS.version >= :mojave ||
MacOS::Xcode.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
Refusing to link macOS-provided software: #{keg.name}
Instead, pass the full include/library paths to your compiler e.g.:
Expand Down

0 comments on commit aa49f97

Please sign in to comment.