diff options
| author | Mark Wielaard <[email protected]> | 2015-10-16 23:07:12 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-10-26 13:52:31 +0100 |
| commit | 528cb45fc99a1f402ac153891ac7c007921699ef (patch) | |
| tree | 0dffe0f711a8b037cb6f73b5b54ec2993186171a /libelf | |
| parent | 5eb3e901f9ffdc02d80f5df8f6963261a23f977c (diff) | |
Make zlib mandatory.
Explicitly link libelf and libdw with -lz.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf')
| -rw-r--r-- | libelf/ChangeLog | 4 | ||||
| -rw-r--r-- | libelf/Makefile.am | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog index 18d77974..fbe8e3ae 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,7 @@ +2015-10-16 Mark Wielaard <[email protected]> + + * Makefile.am (libelf_so_LDLIBS): Add -lz. + 2015-10-14 Mark Wielaard <[email protected]> * elf.h: Update from glibc. Add section compression constants and diff --git a/libelf/Makefile.am b/libelf/Makefile.am index 91a7d073..4a4131c1 100644 --- a/libelf/Makefile.am +++ b/libelf/Makefile.am @@ -93,7 +93,7 @@ libelf_a_SOURCES = elf_version.c elf_hash.c elf_error.c elf_fill.c \ libelf_pic_a_SOURCES = am_libelf_pic_a_OBJECTS = $(libelf_a_SOURCES:.c=.os) -libelf_so_LDLIBS = +libelf_so_LDLIBS = -lz if USE_LOCKS libelf_so_LDLIBS += -lpthread endif |
