summaryrefslogtreecommitdiff
path: root/lib/util/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-25 00:16:21 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-28 20:23:16 +0100
commit887b67908d0e6a2b2f50e04319c1cf4412a25f89 (patch)
tree74cb366e12ab7479bd8503e0e582fca5fc971ba5 /lib/util/Makemodule.am
parent8b80fb92e5e07637f42382ec4e6e3417ade185c9 (diff)
Add libutil implementation for strndup in case it isn't available
"Some" "non-POSIX systems" don't have that. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util/Makemodule.am')
-rw-r--r--lib/util/Makemodule.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am
index ffd594d..e624bbd 100644
--- a/lib/util/Makemodule.am
+++ b/lib/util/Makemodule.am
@@ -1,6 +1,7 @@
libutil_la_SOURCES = include/util/util.h include/util/compat.h
libutil_la_SOURCES += lib/util/str_table.c include/util/str_table.h
libutil_la_SOURCES += lib/util/alloc.c lib/util/canonicalize_name.c
+libutil_la_SOURCES += lib/util/strndup.c
libutil_la_CFLAGS = $(AM_CFLAGS)
libutil_la_CPPFLAGS = $(AM_CPPFLAGS)
libutil_la_LDFLAGS = $(AM_LDFLAGS)