shadowsocks-libev: fix polarssl dependency
This commit is contained in:
parent
02c1fc4cfc
commit
d703e38ad0
1 changed files with 2 additions and 5 deletions
|
@ -17,11 +17,8 @@ class ShadowsocksLibev < Formula
|
|||
option "with-polarssl", "Use PolarSSL instead of OpenSSL"
|
||||
|
||||
depends_on "libev"
|
||||
if build.with? "polarssl"
|
||||
depends_on "polarssl"
|
||||
else
|
||||
depends_on "openssl"
|
||||
end
|
||||
depends_on "polarssl" => :optional
|
||||
depends_on "openssl" if build.without? "polarssl"
|
||||
|
||||
def install
|
||||
args = ["--prefix=#{prefix}"]
|
||||
|
|
Loading…
Reference in a new issue