From 7e97a15fa0b67278499aa9aa3e2a307e5c8db097 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Sep 2006 12:36:06 +0000 Subject: r18034: fixed build of libreplace outside of source directory (This used to be commit 8c07569227c6f2b0c9abdfe535733f3d5cb40fe5) --- source4/lib/replace/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/replace/Makefile.in b/source4/lib/replace/Makefile.in index 4f1d2c6e22..9c16448b92 100644 --- a/source4/lib/replace/Makefile.in +++ b/source4/lib/replace/Makefile.in @@ -9,6 +9,8 @@ srcdir = @srcdir@ builddir = @builddir@ INSTALL = @INSTALL@ +CFLAGS=-I. -I$(srcdir) @CFLAGS@ + OBJS = dlfcn.o getpass.o replace.o snprintf.o all: libreplace.a @@ -31,7 +33,7 @@ testsuite: libreplace.a $(TEST_OBJS) .c.o: @echo Compiling $*.c @mkdir -p `dirname $@` - $(CC) $(CFLAGS) -c $< -o $@ + @$(CC) $(CFLAGS) -c $< -o $@ clean: rm -f *.o *.a testsuite -- cgit