We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d8a3d5 commit 5acb91fCopy full SHA for 5acb91f
Formula/s/smpeg2.rb
@@ -41,10 +41,12 @@ class Smpeg2 < Formula
41
patch :DATA
42
43
def install
44
+ args = ["--with-sdl-prefix=#{Formula["sdl2"].opt_prefix}", "--disable-sdltest"]
45
+ # Help old config scripts identify arm64 linux
46
+ args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
47
+
48
system "./autogen.sh"
- system "./configure", "--with-sdl-prefix=#{Formula["sdl2"].opt_prefix}",
- "--disable-sdltest",
- *std_configure_args
49
+ system "./configure", *args, *std_configure_args
50
system "make"
51
system "make", "install"
52
0 commit comments