[PATCH] D46610: [CMake] Set CMAKE_BUILD_WITH_INSTALL_RPATH for Fuchsia runtimes

Jake Ehrlich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 8 17:16:21 PDT 2018


jakehehrlich added a comment.

Need some clarification on this option

1. The rpath is the path from which libs mentioned in .dynamic are relative to?
2. Normally cmake first links binaries without setting the RPATH and then sets it later.
3. This makes RPATH always equal to the empty string and avoids the "relinking" step that resets RPATH

If so this LGTM


Repository:
  rC Clang

https://reviews.llvm.org/D46610





More information about the cfe-commits mailing list