mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
wkhtmltopdf: link against libc++ on Mavericks
Closes #24532. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
1 parent
5b3410b6d1
commit
a355c67d8e
1 file changed
+7
-1
@@ -24,7 +24,13 @@ class Wkhtmltopdf < Formula
|
||||
inreplace 'src/image/image.pro', 'x86', Hardware::CPU.arch_64_bit
|
||||
end
|
||||
|
||||
system 'qmake', '-spec', 'macx-g++'
|
||||
if MacOS.version >= :mavericks && ENV.compiler == :clang
|
||||
spec = 'unsupported/macx-clang-libc++'
|
||||
else
|
||||
spec = 'macx-g++'
|
||||
end
|
||||
|
||||
system 'qmake', '-spec', spec
|
||||
system 'make'
|
||||
ENV['DYLD_LIBRARY_PATH'] = './bin'
|
||||
`bin/wkhtmltopdf --manpage > wkhtmltopdf.1`
|
||||
|
||||
Reference in new issue
Block a user