mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +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:
1 parent
7146a60429
commit
370a6b1bc5
1 file changed
-4
@@ -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