whois: fix dependency order

This commit is contained in:
commitay 2018-09-18 13:45:13 +10:00
parent 57f7094cfb
commit c4c026c6ff

View file

@ -16,8 +16,8 @@ class Whois < Formula
option "with-libidn2", "Compile with IDN support"
depends_on "pkg-config" => :build if build.with? "libidn2"
depends_on "libidn2" => :optional
depends_on "pkg-config" => :build if build.with? "libidn2"
def install
ENV.append "LDFLAGS", "-L/usr/lib -liconv"