Skip to content

Commit cbdc28f

Browse files
committed
seven-kingdoms: fix build on arm64 linux
1 parent 1eff6d8 commit cbdc28f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Formula/s/seven-kingdoms.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ class SevenKingdoms < Formula
5151
end
5252

5353
def install
54-
system "./configure", "--disable-silent-rules", *std_configure_args
54+
args = ["--disable-silent-rules"]
55+
args += ["--disable-curl", "--disable-enet", "--disable-multiplayer"] unless Hardware::CPU.intel?
56+
57+
system "./configure", *args, *std_configure_args
5558
system "make"
5659
system "make", "install"
5760
end

0 commit comments

Comments
 (0)