From 391b02f870e7db3d3208729ab636372f6677daf4 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Mon, 26 Jul 2021 21:13:53 +0200 Subject: [PATCH] formula_installer: install service after linking --- Library/Homebrew/formula_installer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 9b7b0264c9..b19c82bea8 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -754,11 +754,11 @@ class FormulaInstaller ohai "Finishing up" if verbose? - install_service - keg = Keg.new(formula.prefix) link(keg) + install_service + fix_dynamic_linkage(keg) if !@poured_bottle || !formula.bottle_specification.skip_relocation? if build_bottle?