wine: fix building without x11
Closes Homebrew/homebrew#21986. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
eea96556cd
commit
2c325574d7
1 changed files with 2 additions and 0 deletions
|
@ -111,6 +111,8 @@ class Wine < Formula
|
|||
# 64-bit builds of mpg123 are incompatible with 32-bit builds of Wine
|
||||
args << "--without-mpg123" if Hardware.is_64_bit?
|
||||
|
||||
args << "--without-x" if build.without? 'x11'
|
||||
|
||||
system "./configure", *args
|
||||
|
||||
unless ENV.compiler == :clang or ENV.compiler == :llvm
|
||||
|
|
Loading…
Reference in a new issue