Status: New
Owner: ----

New issue 3871 by [email protected]: On OS X, d8 only works if libv8.dylib is installed to /usr/local/lib
https://code.google.com/p/v8/issues/detail?id=3871

libv8.dylib's install_name is always set to /usr/local/lib/libv8.dylib on OS X because gyp defaults DYLIB_INSTALL_NAME_BASE to /usr/local/lib (in pylib/gyp/xcode_emulation.py).

This causes executables linking against libv8, like d8, to look for libv8 in /usr/local/lib; if v8 is somewhere else, that fails at runtime: https://github.com/Homebrew/homebrew/issues/36571

DYLIB_INSTALL_NAME_BASE can be explicitly set to another path by adding the key to v8.gyp here: https://github.com/v8/v8-git-mirror/blob/master/tools/gyp/v8.gyp#L110-L112

It would be convenient if this was configurable at build time without modifying v8.gyp.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to