From bb94729c098f21ae850044a9201c1d5b92baea1f Mon Sep 17 00:00:00 2001 From: Will Miles Date: Fri, 27 Feb 2015 14:43:23 -0500 Subject: util: Use util-common for strndup in pacsort and pactree This small refactor reduces the number of replications of the local imeplementation of strndup. Signed-off-by: Will Miles Signed-off-by: Allan McRae --- src/util/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/Makefile.am') diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 25c025b5..936d7ffb 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -20,10 +20,10 @@ AM_CFLAGS = -pedantic -D_GNU_SOURCE $(WARNING_CFLAGS) cleanupdelta_SOURCES = cleanupdelta.c cleanupdelta_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la -pacsort_SOURCES = pacsort.c +pacsort_SOURCES = pacsort.c util-common.c pacsort_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la -pactree_SOURCES = pactree.c +pactree_SOURCES = pactree.c util-common.c pactree_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la testpkg_SOURCES = testpkg.c -- cgit v1.2.3-70-g09d2