summaryrefslogtreecommitdiffstats
path: root/libelf/Makefile.am
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2015-10-16 23:07:12 +0200
committerMark Wielaard <[email protected]>2015-10-26 13:52:31 +0100
commit528cb45fc99a1f402ac153891ac7c007921699ef (patch)
tree0dffe0f711a8b037cb6f73b5b54ec2993186171a /libelf/Makefile.am
parent5eb3e901f9ffdc02d80f5df8f6963261a23f977c (diff)
Make zlib mandatory.
Explicitly link libelf and libdw with -lz. Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'libelf/Makefile.am')
-rw-r--r--libelf/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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