diff options
| author | Tim D. Smith | 2015-02-05 19:54:57 -0800 |
|---|---|---|
| committer | Tim D. Smith | 2015-02-06 21:58:21 -0800 |
| commit | 17ead526270a3ebc0a64fa67d43acbb524bb7634 (patch) | |
| tree | b9decc757f1e08c398b9aa73fa084c167fe75133 /Library | |
| parent | 741166a47eb6ecb2268b8a42c1f7485a6afb4518 (diff) | |
| download | homebrew-17ead526270a3ebc0a64fa67d43acbb524bb7634.tar.bz2 | |
v8: fix up libv8.dylib install_name
Fixes #36571.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/v8.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb index b682aa349..15c2d959e 100644 --- a/Library/Formula/v8.rb +++ b/Library/Formula/v8.rb @@ -25,6 +25,13 @@ class V8 < Formula end def install + # fix up libv8.dylib install_name + # https://github.com/Homebrew/homebrew/issues/36571 + # https://code.google.com/p/v8/issues/detail?id=3871 + inreplace "tools/gyp/v8.gyp", + "'OTHER_LDFLAGS': ['-dynamiclib', '-all_load']", + "\\0, 'DYLIB_INSTALL_NAME_BASE': '#{opt_lib}'" + # Download gyp ourselves because running "make dependencies" pulls in ICU. (buildpath/'build/gyp').install resource('gyp') |
