qpdf: Fix build with Clang/libc++.
* Reference patch from my upstream PR: https://github.com/qpdf/qpdf/pull/21. Closes Homebrew/homebrew#23412.
This commit is contained in:
parent
9fb40eee20
commit
42519e064c
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue