Skip to content

Commit

Permalink
libgcrypt: Replace install_name_tool usage with ruby-macho.
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw committed Jan 12, 2017
1 parent b86e416 commit 7cddeea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/libgcrypt.rb
Expand Up @@ -50,10 +50,10 @@ def install
# normal place on >10.10 where SIP is enabled.
# https://github.com/Homebrew/homebrew-core/pull/3004
# https://bugs.gnupg.org/gnupg/issue2056
system "install_name_tool", "-change",
lib/"libgcrypt.20.dylib",
buildpath/"src/.libs/libgcrypt.20.dylib",
buildpath/"tests/.libs/random"
MachO::Tools.change_install_name("#{buildpath}/tests/.libs/random",
"#{lib}/libgcrypt.20.dylib",
"#{buildpath}/src/.libs/libgcrypt.20.dylib")

system "make", "check"
system "make", "install"

Expand Down

0 comments on commit 7cddeea

Please sign in to comment.