mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
cmELF: Remove now-redundant check for DT_RUNPATH's existence
We define it if it's not already defined.
This commit is contained in:
@@ -157,11 +157,7 @@ public:
|
||||
// Lookup the RUNPATH in the DYNAMIC section.
|
||||
StringEntry const* GetRunPath()
|
||||
{
|
||||
#if defined(DT_RUNPATH)
|
||||
return this->GetDynamicSectionString(DT_RUNPATH);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Return the recorded ELF type.
|
||||
|
||||
Reference in New Issue
Block a user