Chromium Code Reviews
DescriptionFix rpath for components when cross-compiling.
This came up while bringing up the components build for Android. Trying
to run v8_shell failed: out/Debug/v8_shell: error while loading shared
libraries: libv8.cr.so: cannot open shared object file: No such file or
directory
readelf -d out/Debug/v8_shell
shows the problem:
0x0000000f (RPATH) Library rpath: [$ORIGIN/lib/]
For cross-compiles, host shared libraries are placed in /lib/host
BUG=chromium:158821
Committed: https://code.google.com/p/gyp/source/detail?r=1607
Patch Set 1 #Patch Set 2 : add test #Patch Set 3 : linux-only #
Messages
Total messages: 8 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||