On Wed, Jan 13, 2016 at 05:22:35PM +0100, Mark Wielaard wrote:
Older glibc elf.h might not define the new ELF compression defines and types. If not just define them in libelf.h directly to make the libelf headers work on older glibc systems.
Also include a testcase to check the libelf headers build against the system elf.h.
That seems to fail with: CC system_elf_libelf_test-system-elf-libelf-test.o In file included from system-elf-libelf-test.c:22:0: ../libelf/gelf.h:32:20: fatal error: libelf.h: No such file or directory compilation terminated.
Kurt