diff options
| author | Misty De Meo | 2013-10-06 01:51:31 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-10-06 19:26:06 -0700 |
| commit | 74ab0234223332585f9d249c8d55a33de60a9b4c (patch) | |
| tree | 871fb635b1edf016b0f3e2d4c618feda5ab9b788 /Library/Homebrew/test/test_stdlib.rb | |
| parent | 9c53a1b8b760614fc076afe0d94ff68ac30cd385 (diff) | |
| download | brew-74ab0234223332585f9d249c8d55a33de60a9b4c.tar.bz2 | |
Only track C++ stdlibs for C++ code
After a formula is built, scan all mach-o files for dynamic links
to see if any of them point to a C++ stdlib (libc++ or libstdc++).
If one of them is linked, record that information in the formula's tab.
This replaces the old behaviour where all files were assumed to be C++
code, and stdlibs were always tracked regardless of whether they were
actually linked against.
This also modifies the way that tabs are written - now tabs are written
with the stdlib field null, and values are only written if an stdlib
is detected.
Diffstat (limited to 'Library/Homebrew/test/test_stdlib.rb')
0 files changed, 0 insertions, 0 deletions
