summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMaya Rashish <coypu@sdf.org>2017-04-26 13:43:40 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-26 18:01:24 (GMT)
commit370a6b1bc525aa5b3a7308caf3347dd4b4267db0 (patch)
tree47d31263b6cbb662e045c5eb2f4a237516ca710a /Source
parent7146a6042991ca5ac49d400cf94d0feb2b8ae4ab (diff)
downloadCMake-370a6b1bc525aa5b3a7308caf3347dd4b4267db0.zip
CMake-370a6b1bc525aa5b3a7308caf3347dd4b4267db0.tar.gz
CMake-370a6b1bc525aa5b3a7308caf3347dd4b4267db0.tar.bz2
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 084cf4a..d23abec 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.