diff options
author | Maya Rashish <coypu@sdf.org> | 2017-04-26 16:43:40 +0300 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-26 14:01:24 -0400 |
commit | 370a6b1bc525aa5b3a7308caf3347dd4b4267db0 (patch) | |
tree | 47d31263b6cbb662e045c5eb2f4a237516ca710a /Source | |
parent | 7146a6042991ca5ac49d400cf94d0feb2b8ae4ab (diff) | |
download | cmake-370a6b1bc525aa5b3a7308caf3347dd4b4267db0.tar.gz |
cmELF: Remove now-redundant check for DT_RUNPATH's existence
We define it if it's not already defined.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmELF.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index 084cf4a343..d23abecafc 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -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. |