Skip to contentSkip to conversation

master - makefiles: include path missing

PATCH Zdenek Kabelac 1 participant 1 message Aug 29, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=db77041d93a946384cadecdb3a33466e09f77b00
Commit:        db77041d93a946384cadecdb3a33466e09f77b00
Parent:        ca32920b1646b5d124c729e1ed7a83ce277d4803
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Aug 29 12:51:28 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Aug 29 13:10:20 2014 +0200

makefiles: include path missing

For deps calcs path for blkid.h needs to be known.

---
 make.tmpl.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
make.tmpl.in +1 -1
index 5d4c144..5e597df 100644
@@ -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:/' >> $@; \