summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMaya Rashish <coypu@sdf.org>2017-04-26 16:43:40 +0300
committerBrad King <brad.king@kitware.com>2017-04-26 14:01:24 -0400
commit370a6b1bc525aa5b3a7308caf3347dd4b4267db0 (patch)
tree47d31263b6cbb662e045c5eb2f4a237516ca710a /Source
parent7146a6042991ca5ac49d400cf94d0feb2b8ae4ab (diff)
downloadcmake-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.cxx4
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.