mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: include path missing
For deps calcs path for blkid.h needs to be known.
This commit is contained in:
parent
ca32920b16
commit
db77041d93
@ -411,7 +411,7 @@ $(LIB_STATIC): $(OBJECTS)
|
|||||||
set -e; \
|
set -e; \
|
||||||
FILE=`echo $@ | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
|
FILE=`echo $@ | sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
|
||||||
DEPS=`echo $(DEPS) | sed -e 's/\\//\\\\\\//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" $@; \
|
sed -i "s/\(.*\)\.o[ :]*/$$FILE.o $$FILE.d $$FILE.pot: $$DEPS /g" $@; \
|
||||||
DEPLIST=`sed 's/ \\\\//;s/.*://;' < $@`; \
|
DEPLIST=`sed 's/ \\\\//;s/.*://;' < $@`; \
|
||||||
echo $$DEPLIST | fmt -1 | sed 's/ //g;s/\(.*\)/\1:/' >> $@; \
|
echo $$DEPLIST | fmt -1 | sed 's/ //g;s/\(.*\)/\1:/' >> $@; \
|
||||||
|
Loading…
Reference in New Issue
Block a user