Skip to content

Commit

Permalink
Merge pull request #15916 from cho-m/linux-glibc-version-api
Browse files Browse the repository at this point in the history
extend/os/linux/system_config: show glibc/gcc version for API users
  • Loading branch information
MikeMcQuaid authored Aug 27, 2023
2 parents a4a4f2d + bc2bb59 commit d4444b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/os/linux/system_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def host_gcc_version
end

def formula_linked_version(formula)
return "N/A" unless CoreTap.instance.installed?
return "N/A" if Homebrew::EnvConfig.no_install_from_api? && !CoreTap.instance.installed?

Formulary.factory(formula).any_installed_version || "N/A"
rescue FormulaUnavailableError
Expand Down

0 comments on commit d4444b5

Please sign in to comment.