summaryrefslogtreecommitdiffstats
path: root/config/eu.am
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2017-02-23 17:22:41 +0100
committerUlf Hermann <[email protected]>2017-04-27 15:56:33 +0000
commit121d248c1da7f2130a2edde6d158f116c89ed407 (patch)
treead7a348a88db648da6e2df366d89fcb7b7436a1c /config/eu.am
parentf10810fff6fda147f9c07fea0e1b33a7c4d79ad1 (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 'config/eu.am')
-rw-r--r--config/eu.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/eu.am b/config/eu.am
index 8fe1e259..11c2fece 100644
--- a/config/eu.am
+++ b/config/eu.am
@@ -31,6 +31,9 @@
DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"${localedir}"'
AM_CPPFLAGS = -I. -I$(srcdir) -I$(top_srcdir)/lib -I..
+if USE_GNULIB
+AM_CPPFLAGS += -I$(top_srcdir)/libgnu -I$(top_builddir)/libgnu
+endif
# Drop the 'u' flag that automake adds by default. It is incompatible
# with deterministic archives.