qpdf: Fix build with Clang/libc++.

* Reference patch from my upstream PR:
  https://github.com/qpdf/qpdf/pull/21.

Closes Homebrew/homebrew#23412.
master
Xiyue Deng 2013-10-28 15:50:49 -07:00
parent 9fb40eee20
commit 42519e064c
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@ class Qpdf < Formula
depends_on 'pcre'
# Fix building using Clang and libc++
# https://github.com/qpdf/qpdf/issues/19
def patches
'https://github.com/qpdf/qpdf/pull/21.diff'
end
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"