common/makefiles/MakeBase.gmk

changeset 645
5b0b6ef58dbf
parent 557
d2c1f80118de
child 660
19a59a13b3ef
     1.1 --- a/common/makefiles/MakeBase.gmk	Thu Feb 21 17:39:58 2013 -0800
     1.2 +++ b/common/makefiles/MakeBase.gmk	Mon Feb 25 15:08:11 2013 -0800
     1.3 @@ -51,8 +51,9 @@
     1.4  		     -e 's|X98|$(OUTPUT_ROOT)|g' -e 's|X97|$(SRC_ROOT)|g' \
     1.5  		     -e 's|X00|X|g' | tr '\n' '$2'
     1.6  
     1.7 +# Subst in an extra $ to prevent it from disappearing.
     1.8  define ListPathsSafely_If
     1.9 -    $(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(wordlist $3,$4,$($1)))))
    1.10 +    $(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(subst $$,$$$$,$(wordlist $3,$4,$($1))))))
    1.11  endef
    1.12  
    1.13  define ListPathsSafely_Printf

mercurial