From db77041d93a946384cadecdb3a33466e09f77b00 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 29 Aug 2014 12:51:28 +0200 Subject: [PATCH] makefiles: include path missing For deps calcs path for blkid.h needs to be known. --- make.tmpl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.tmpl.in b/make.tmpl.in index 5d4c14450..5e597df11 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -411,7 +411,7 @@ $(LIB_STATIC): $(OBJECTS) set -e; \ FILE=`echo $@ | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \ DEPS=`echo $(DEPS) | sed -e 's/\\//\\\\\\//g'`; \ - $(CC) -MM $(INCLUDES) $(DEFS) -o $@ $<; \ + $(CC) -MM $(INCLUDES) $(BLKID_CFLAGS) $(DEFS) -o $@ $<; \ sed -i "s/\(.*\)\.o[ :]*/$$FILE.o $$FILE.d $$FILE.pot: $$DEPS /g" $@; \ DEPLIST=`sed 's/ \\\\//;s/.*://;' < $@`; \ echo $$DEPLIST | fmt -1 | sed 's/ //g;s/\(.*\)/\1:/' >> $@; \