Comment #5 on issue 2000 by [email protected]: minor build issue when soname_version is specified and library set to shared
http://code.google.com/p/v8/issues/detail?id=2000
Seems like a peculiarity of GYP: if a dependency ends in '.so', its path is hardcoded into the binary linking against it, otherwise it is not. I assume this is a convenience hack; normally you always have to set your LD_LIBRARY_PATH when you're working with shared libraries.
If this bothers you, feel free to file a bug against GYP, but AFAIK "-Wl,-rpath" is a somewhat complex issue, so the GYP developers might not want to change the behavior.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
