summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
Diffstat (limited to 'libelf')
-rw-r--r--libelf/ChangeLog4
-rw-r--r--libelf/Makefile.am3
2 files changed, 7 insertions, 0 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index 225c7c85..d9ac7c6d 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-21 Ulf Hermann <[email protected]>
+
+ * Makefile.am: Link libelf agaist libgnu.a if requested.
+
2017-04-20 Ulf Hermann <[email protected]>
* elf_update.c: Set ELF_F_MMAPPED flag if we mmap from elf_update.
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 167a8322..d141c641 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -99,6 +99,9 @@ libelf_so_LDLIBS = -lz
if USE_LOCKS
libelf_so_LDLIBS += -lpthread
endif
+if USE_GNULIB
+libelf_so_LDLIBS += ../libgnu/libgnu.a
+endif
libelf_so_SOURCES =
libelf.so$(EXEEXT): libelf_pic.a libelf.map