diff options
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 18c4939..89cf407 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -393,6 +393,14 @@ public: std::string const& newRPath, std::string* emsg = 0); + /** Try to remove the RPATH from an ELF binary. */ + static bool RemoveRPath(std::string const& file, std::string* emsg = 0); + + /** Check whether the RPATH in an ELF binary contains the path + given. */ + static bool CheckRPath(std::string const& file, + std::string const& newRPath); + private: static bool s_ForceUnixPaths; static bool s_RunCommandHideConsole; |