From 60af9ad5e8306f2bee09d81f5f552956863b3312 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 30 Apr 2015 10:17:53 +0100 Subject: [PATCH] re2: fix library ID. Closes Homebrew/homebrew#39198. Closes Homebrew/homebrew#39211. Signed-off-by: Mike McQuaid --- Formula/re2.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/re2.rb b/Formula/re2.rb index 714463b9d5..b534b17c56 100644 --- a/Formula/re2.rb +++ b/Formula/re2.rb @@ -24,6 +24,7 @@ class Re2 < Formula end system "make", "install", "prefix=#{prefix}" mv lib/"libre2.so.0.0.0", lib/"libre2.0.0.0.dylib" + system "install_name_tool", "-id", "#{lib}/libre2.0.dylib", "#{lib}/libre2.0.0.0.dylib" lib.install_symlink "libre2.0.0.0.dylib" => "libre2.0.dylib" lib.install_symlink "libre2.0.0.0.dylib" => "libre2.dylib" end