Component builds automatically set the rpath to include dependent libraries, but with a non-component build these are assumed to be linked statically so the rpath of where to find the libraries to collect install_name info from is missing. Thus we set the rpath explicitly. Related articles and documentation: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/RunpathDependentLibraries.html http://log.zyxar.com/blog/2012/03/10/install-name-on-os-x https://wincent.com/wiki/@executable_path,_@load_path_and_@rpath Bug swiftshader:68 Change-Id: I0cfe0d26fccf80ff7911846ef013d47daaeb09fd Reviewed-on: https://swiftshader-review.googlesource.com/10228Reviewed-by:Nicolas Capens <capn@google.com> Tested-by:
Nicolas Capens <capn@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .vscode | Loading commit data... | |
| docs | Loading commit data... | |
| include | Loading commit data... | |
| src | Loading commit data... | |
| tests | Loading commit data... | |
| third_party | Loading commit data... | |
| .dir-locals.el | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .gitmodules | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| AUTHORS.txt | Loading commit data... | |
| Android.mk | Loading commit data... | |
| BUILD.gn | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CONTRIBUTING.txt | Loading commit data... | |
| CONTRIBUTORS.txt | Loading commit data... | |
| DEPS | Loading commit data... | |
| LICENSE.txt | Loading commit data... | |
| OWNERS | Loading commit data... | |
| README.google | Loading commit data... | |
| README.md | Loading commit data... | |
| README.version | Loading commit data... | |
| SwiftShader.sln | Loading commit data... |