mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
cmELF: Define DT_RUNPATH if it isn't already defined
The value of 29 is used by binutils and is used in the System V ABI draft from 2001. It isn't defined on NetBSD 6.0.
This commit is contained in:
@@ -44,6 +44,9 @@ typedef struct Elf32_Rela Elf32_Rela;
|
||||
#ifdef _SCO_DS
|
||||
#include <link.h> // For DT_SONAME etc.
|
||||
#endif
|
||||
#ifndef DT_RUNPATH
|
||||
#define DT_RUNPATH 29
|
||||
#endif
|
||||
|
||||
// Low-level byte swapping implementation.
|
||||
template <size_t s>
|
||||
|
||||
Reference in New Issue
Block a user