mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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