summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-04 12:36:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:05 -0500
commit7e97a15fa0b67278499aa9aa3e2a307e5c8db097 (patch)
treef4d7d1a07cfa23aba2e99f033745c406f7b524cd /source4/lib
parentf3cf9d4ef6d30ec03a7b46c384a5ee914587fcd9 (diff)
downloadsamba-7e97a15fa0b67278499aa9aa3e2a307e5c8db097.tar.gz
samba-7e97a15fa0b67278499aa9aa3e2a307e5c8db097.tar.bz2
samba-7e97a15fa0b67278499aa9aa3e2a307e5c8db097.zip
r18034: fixed build of libreplace outside of source directory
(This used to be commit 8c07569227c6f2b0c9abdfe535733f3d5cb40fe5)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/Makefile.in4
1 files changed, 3 insertions, 1 deletions
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