cmELF: Remove now-redundant check for DT_RUNPATH's existence

We define it if it's not already defined.
This commit is contained in:
Maya Rashish
2017-04-26 14:01:24 -04:00
committed by Brad King
parent 7146a60429
commit 370a6b1bc5
-4
View File
@@ -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.