summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-02-24 16:47:58 +0100
committerUlf Hermann <[email protected]>2017-04-28 10:57:30 +0000
commitb665cd7c344a7ae86b2dea9f8a8974725f8946ef (patch)
treef632dc5c04265ae8c26d7647c73d5f4a2f962a95 /libelf
parent69cdfee21c15e68ab39fe86a86766bb474c2fc78 (diff)
Check if we need -lintl for linking gettext
We might not have gettext available from libc and we cannot get it from gnulib either. Change-Id: I1cc657b13b97bcc7c0f158f11b6702c24e69695c Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'libelf')
-rw-r--r--libelf/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 78d68532..64687b72 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -95,7 +95,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 = -lz
+libelf_so_LDLIBS = -lz $(intl_LDADD)
if USE_LOCKS
libelf_so_LDLIBS += -lpthread
endif