diff options
| -rw-r--r-- | Library/Formula/yara.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/yara.rb b/Library/Formula/yara.rb index dac1c4556..e04e2c5fa 100644 --- a/Library/Formula/yara.rb +++ b/Library/Formula/yara.rb @@ -12,8 +12,7 @@ class Yara < Formula ENV.append 'CFLAGS', '-std=gnu89' if ENV.compiler == :clang # find Homebrew's libpcre - ENV.append 'LDFLAGS', - "-L#{Formula.factory('pcre').opt_prefix}/lib -lpcre" + ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_prefix}/lib -lpcre" system "./configure", "--disable-debug", "--disable-dependency-tracking", |
