diff --git a/Library/Formula/qpdf.rb b/Library/Formula/qpdf.rb index eb79f7e2ba..4a9950b1ff 100644 --- a/Library/Formula/qpdf.rb +++ b/Library/Formula/qpdf.rb @@ -9,7 +9,7 @@ class Qpdf < Formula def install # find Homebrew's libpcre - ENV.append 'LDFLAGS', "-L#{Formula.factory('pcre').opt_prefix}/lib" + ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_prefix}/lib" system "./configure", "--prefix=#{prefix}" system "make"