diff options
| author | Dustin Lang | 2013-07-31 13:11:01 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-03 12:46:02 -0700 |
| commit | 3d0b04bacafb3a414dcde37c2630095a42357e75 (patch) | |
| tree | a78aad9e3198a2f2aa3dc946ebb8c2ad340e6983 /Library/Formula | |
| parent | 4e8bf33455f21b0cdb00c1171d75b9fc3f00654f (diff) | |
| download | homebrew-3d0b04bacafb3a414dcde37c2630095a42357e75.tar.bz2 | |
xpdf: add link flags and fix include flag
Closes #21572.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xpdf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/xpdf.rb b/Library/Formula/xpdf.rb index 4851d2766..b66fc0220 100644 --- a/Library/Formula/xpdf.rb +++ b/Library/Formula/xpdf.rb @@ -12,7 +12,8 @@ class Xpdf < Formula def patches; DATA; end def install - ENV.append_to_cflags "-I#{MacOS::X11.include} -#{MacOS::X11.include}/freetype2" + ENV.append_to_cflags "-I#{MacOS::X11.include} -I#{MacOS::X11.include}/freetype2" + ENV.append "LDFLAGS", "-L#{MacOS::X11.lib}" system "./configure", "--prefix=#{prefix}", "--mandir=#{man}" system "make" |
