diff options
author | Brad King <brad.king@kitware.com> | 2009-06-10 18:11:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-10 18:11:40 (GMT) |
commit | d6dd3e91a43d58314919394af6c56383181d410c (patch) | |
tree | 0c6f7b838de928f22605fef918a8e1c7ae530bcf /Source/cmAddSubDirectoryCommand.h | |
parent | 42c4a1d71fa818855f1cb67962e94a1f50b18f03 (diff) | |
download | CMake-d6dd3e91a43d58314919394af6c56383181d410c.zip CMake-d6dd3e91a43d58314919394af6c56383181d410c.tar.gz CMake-d6dd3e91a43d58314919394af6c56383181d410c.tar.bz2 |
BUG: Do not mangle symbols when editing RPATHs
In ELF binaries the .dynstr string table is used both for the RPATH
string and for program symbols. If a symbol name happens to match the
end of the build-tree RPATH string the linker is allowed to merge the
symbols.
We must not allow this when the RPATH string will be replaced during
installation because it will mangle the symbol. Therefore we always pad
the end of the build-tree RPATH with ':' if it will be replaced. Tools
tend not to use ':' at the end of symbol names, so it is unlikely to
conflict. See issue #9130.
Diffstat (limited to 'Source/cmAddSubDirectoryCommand.h')
0 files changed, 0 insertions, 0 deletions