summaryrefslogtreecommitdiffstats
path: root/source4/dynconfig.mk
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-16 14:08:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:48 -0500
commitd6c66ea7746a18428cf85af5639ec562ce024dd2 (patch)
tree50398e8db71b2f3ec4a30b61349b0a3eb9e031cc /source4/dynconfig.mk
parentab36db2f9d2341a5206584e2d74000515f0b08a0 (diff)
downloadsamba-d6c66ea7746a18428cf85af5639ec562ce024dd2.tar.gz
samba-d6c66ea7746a18428cf85af5639ec562ce024dd2.tar.xz
samba-d6c66ea7746a18428cf85af5639ec562ce024dd2.zip
r25187: pass FIRST_PREREQ to Makefile so that the value can be used
in handwritten rules too, hopefully fix the build of ldb with bsd make. metze (This used to be commit 9d6d296105526c55f08d82d289a30b92193d51e3)
Diffstat (limited to 'source4/dynconfig.mk')
-rw-r--r--source4/dynconfig.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dynconfig.mk b/source4/dynconfig.mk
index b86f441372..1840ededac 100644
--- a/source4/dynconfig.mk
+++ b/source4/dynconfig.mk
@@ -21,4 +21,5 @@ PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \
dynconfig.o: dynconfig.c Makefile
@echo Compiling $<
- @$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) $(PATH_FLAGS) -c $< -o $@
+ @$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) \
+ $(PATH_FLAGS) -c $(FIRST_PREREQ) -o $@