diff options
| author | Jack Nagel | 2013-04-04 17:22:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-04 17:22:26 -0500 |
| commit | b827d2e68e2f604b1c5724b3ddd5d116274da4b6 (patch) | |
| tree | da6912645ab1aa0034eaa0c424d998293ee5b51b /Library/Formula | |
| parent | 7feae356ee589e9ce40544371ac0a9b06bfbd069 (diff) | |
| download | homebrew-b827d2e68e2f604b1c5724b3ddd5d116274da4b6.tar.bz2 | |
yara: use opt_prefix to find pcre
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/yara.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/yara.rb b/Library/Formula/yara.rb index 9eb6501b3..dac1c4556 100644 --- a/Library/Formula/yara.rb +++ b/Library/Formula/yara.rb @@ -12,7 +12,8 @@ class Yara < Formula ENV.append 'CFLAGS', '-std=gnu89' if ENV.compiler == :clang # find Homebrew's libpcre - ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib" + ENV.append 'LDFLAGS', + "-L#{Formula.factory('pcre').opt_prefix}/lib -lpcre" system "./configure", "--disable-debug", "--disable-dependency-tracking", |
