From e8adb5e6ce011737194f93cf7c4c180adc5c1a6e Mon Sep 17 00:00:00 2001 From: Chris Frey Date: Thu, 17 May 2012 03:31:12 -0400 Subject: [PATCH] Fixed build system to allow for out-of-source tree builds When using configure from a directory other than the top level source tree, there was trouble compiling the compat/ and listhash/ libraries. Two minor path fixes changed that. --- lib/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Makefile.in b/lib/Makefile.in index 3509c7a..60acbe6 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -85,10 +85,10 @@ ${LIBTAR_OBJS}: ${LIBTAR_HDRS} %.lo: $(srcdir)/%.c $(LIBTOOL) --mode=compile ${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $< -%.lo: listhash/%.c +%.lo: ../listhash/%.c $(LIBTOOL) --mode=compile ${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $< -%.lo: compat/%.c +%.lo: ${top_srcdir}/compat/%.c $(LIBTOOL) --mode=compile ${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $< clean: -- 2.11.4.GIT