diff options
| author | Ulf Hermann <[email protected]> | 2017-02-23 17:22:41 +0100 |
|---|---|---|
| committer | Ulf Hermann <[email protected]> | 2017-04-27 15:56:33 +0000 |
| commit | 121d248c1da7f2130a2edde6d158f116c89ed407 (patch) | |
| tree | ad7a348a88db648da6e2df366d89fcb7b7436a1c /libelf | |
| parent | f10810fff6fda147f9c07fea0e1b33a7c4d79ad1 (diff) | |
Add gnulib modules to replace missing libc functionality
This enables us to build a fully featured elfutils package on systems
with reduced C libraries, such as windows. All the modules are built
into libgnu.a, which is then linked into all binaries if
--enable-gnulib is given on the configure line.
Change-Id: I743fd22172bc85d9f10dcc3dad8eb921f462b554
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'libelf')
| -rw-r--r-- | libelf/ChangeLog | 4 | ||||
| -rw-r--r-- | libelf/Makefile.am | 3 |
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 |
