Skip to content

Commit

Permalink
simg2img: patch to fix execution on apple silicon
Browse files Browse the repository at this point in the history
Uses a patch to fix the execution of the compiled binaries on arm64

anestisb/android-simg2img@931df9d
  • Loading branch information
SoCuul committed Dec 15, 2024
1 parent 34b2b81 commit 4af572d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/s/simg2img.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ class Simg2img < Formula

uses_from_macos "zlib"

# Fix execution on apple silicon from a fork
patch do
url "https://github.com/anestisb/android-simg2img/commit/931df9dd83e7feea11197402c5b4e7ad489f4abf.patch?full_index=1"
sha256 "97f7e1256e9bc0fcfb4e1714ac503c7d5a4901a1685fe86307222d0f67ae5898"
end

def install
system "make", "PREFIX=#{prefix}", "install"
end
Expand Down

0 comments on commit 4af572d

Please sign in to comment.