diff options
| author | Mike McQuaid | 2014-01-07 08:27:10 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-07 08:49:37 +0000 |
| commit | 44d23c8d40f7e6ae150d0079c2d0bc059fb29689 (patch) | |
| tree | 2f434188af97b27e47524d25c971f1af69e49958 /Library | |
| parent | cb0b6a0fa36673cfb5e453b8ca6169ce6940c66c (diff) | |
| download | brew-44d23c8d40f7e6ae150d0079c2d0bc059fb29689.tar.bz2 | |
detect_cxx_stdlibs: ignore executables.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg_fix_install_names.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index 3fc827bf5..80309d6cf 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -70,6 +70,7 @@ class Keg results = Set.new mach_o_files.each do |file| + next if file.mach_o_executable? dylibs = file.dynamically_linked_libraries results << :libcxx unless dylibs.grep(/libc\+\+.+\.dylib/).empty? results << :libstdcxx unless dylibs.grep(/libstdc\+\+.+\.dylib/).empty? |
