comparepdf: update qmake spec
Note, this does not allow building with Xcode 5.
This commit is contained in:
parent
6f1259607b
commit
43cea2c8cf
1 changed files with 6 additions and 1 deletions
|
@ -10,7 +10,12 @@ class Comparepdf < Formula
|
|||
|
||||
def install
|
||||
# Generate makefile and disable .app creation
|
||||
system 'qmake -spec macx-g++ CONFIG-=app_bundle'
|
||||
if MacOS.version >= :mavericks && ENV.compiler == :clang
|
||||
spec = 'unsupported/macx-clang-libc++'
|
||||
else
|
||||
spec = 'macx-g++'
|
||||
end
|
||||
system 'qmake', '-spec', spec, 'CONFIG-=app_bundle'
|
||||
system 'make'
|
||||
|
||||
bin.install 'comparepdf'
|
||||
|
|
Loading…
Reference in a new issue