xpdf: add link flags and fix include flag
Closes Homebrew/homebrew#21572. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
2c6a9a5e62
commit
d1c8851776
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue