summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-05-29 10:05:27 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-05-29 10:05:27 (GMT)
commit7da11cac0b892d85f19f4132c1912105e3686c7f (patch)
tree1070b9cc5e40bc0b2d5d7701b75591c62e521c80 /src
parent0500f6d677ea4495647331404e9a55f3069b3b0c (diff)
downloadpatchelf-7da11cac0b892d85f19f4132c1912105e3686c7f.zip
patchelf-7da11cac0b892d85f19f4132c1912105e3686c7f.tar.gz
patchelf-7da11cac0b892d85f19f4132c1912105e3686c7f.tar.bz2
* Ancient FreeBSD compat.
Diffstat (limited to 'src')
-rw-r--r--src/patchelf.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/patchelf.cc b/src/patchelf.cc
index f0493f6..d481e56 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -197,6 +197,10 @@ I ElfFile<ElfFileParamNames>::rdi(I i)
#define DT_VERSYM 0x6ffffff0
#endif
+#ifndef DT_RUNPATH
+#define DT_RUNPATH 29
+#endif
+
static void debug(const char * format, ...)
{