commit | 643fc46bdc13dd57584d5d77eee30a99308ba896 | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Wed Dec 01 12:36:07 2021 -0500 |
committer | Brad King <brad.king@kitware.com> | Wed Dec 01 12:58:11 2021 -0500 |
tree | 184ab10c031666afa8249a64662b8fa699b72ffe | |
parent | 5596cba7dcb06b0641d4a5499fc046cf0959464e [diff] |
file(RPATH): Restore tolerance of unknown formats if new RPATH is empty Since commit 2e1149874d (cmSystemTools: Support multiple binary formats, 2021-06-14, v3.22.0-rc1~575^2) the `file(RPATH_...)` operations fail on files that are not ELF or XCOFF format. Previously the RPATH operations tolerated files of unknown format if the goal was to produce a file with an empty RPATH. Restore this tolerance in order to support setting an empty RPATH on GNU ld scripts. Fixes: #22963