diff options
| author | Mike McQuaid | 2017-04-05 09:32:52 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-05 09:32:52 +0100 |
| commit | d84655efb9dba5840d75e08da5b69f5fd0c56744 (patch) | |
| tree | 687655fb353a5ee38033a1fed8fd866799504fe3 /Library/Homebrew/extend | |
| parent | 1a87964e04037b77b82b7545b95fcd0ab72b8cff (diff) | |
| parent | 2144c35539318a8ec88ba3ebcca473a917eee71b (diff) | |
| download | brew-d84655efb9dba5840d75e08da5b69f5fd0c56744.tar.bz2 | |
Merge pull request #2442 from tdsmith/fix-symlink-relocation
Virtualenv relocation fixes
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/keg_relocate.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/keg_relocate.rb b/Library/Homebrew/extend/os/mac/keg_relocate.rb index f44a97b31..0b2ecd1c9 100644 --- a/Library/Homebrew/extend/os/mac/keg_relocate.rb +++ b/Library/Homebrew/extend/os/mac/keg_relocate.rb @@ -125,6 +125,12 @@ class Keg mach_o_files end + def recursive_fgrep_args + # Don't recurse into symlinks; the man page says this is the default, but + # it's wrong. -O is a BSD-grep-only option. + "-lrO" + end + def self.file_linked_libraries(file, string) # Check dynamic library linkage. Importantly, do not perform for static # libraries, which will falsely report "linkage" to themselves. |
