diff options
| author | Mike McQuaid | 2015-01-17 18:58:04 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-17 18:58:04 +0100 |
| commit | 3ecff952405202ceb8aed024655015afd6423530 (patch) | |
| tree | e784cc4f838fec2ac31bcbb7c24838f65c8ab800 /Library | |
| parent | 75d57af3b33524ef91c7d3d0d614e55de086cdbf (diff) | |
| download | homebrew-3ecff952405202ceb8aed024655015afd6423530.tar.bz2 | |
clang-format: fix runtime linking on 10.8 and below.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/clang-format.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/clang-format.rb b/Library/Formula/clang-format.rb index 391c8503b..71b6b3f1b 100644 --- a/Library/Formula/clang-format.rb +++ b/Library/Formula/clang-format.rb @@ -26,6 +26,10 @@ class ClangFormat < Formula depends_on "ninja" => :build depends_on "subversion" => :build + # It'll link to GCC's libatomic in this case so need to manually specify + # the dependency for runtime linking. + depends_on "gcc" if MacOS.version <= :mountain_lion + fails_with :clang do build 503 cause "Host Clang must be able to find libstdc++4.7 or newer!" |
