[PATCH] [libcxx] Add support for building and testing with an ABI library not along linker paths
eric at efcs.ca
Fri Aug 22 22:46:21 PDT 2014
Added documentation on how to build libc++ against a non-installed ABI library.
Unfortunately not only does the user have to pass `-DCMAKE_LIBRARY_PATH=/path/to/lib` to CMake, but they also need to set `RPATH=/path/to/lib` when building libc++.
CMake does not have a mechanism for configuring relative paths via CMake variable.
We could manually add `-Wl,-rpath -Wl,<lib-path>` for all paths in `CMAKE_LIBRARY_PATH` but this also seems less than ideal.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15014 bytes
Desc: not available
More information about the cfe-commits