common/makefiles/MakeBase.gmk
changeset 15903 bc0e6cd9d760
parent 15051 d32ad37472e6
child 16419 50dd98738641
--- a/common/makefiles/MakeBase.gmk	Thu Feb 21 17:39:58 2013 -0800
+++ b/common/makefiles/MakeBase.gmk	Mon Feb 25 15:08:11 2013 -0800
@@ -51,8 +51,9 @@
 		     -e 's|X98|$(OUTPUT_ROOT)|g' -e 's|X97|$(SRC_ROOT)|g' \
 		     -e 's|X00|X|g' | tr '\n' '$2'
 
+# Subst in an extra $ to prevent it from disappearing.
 define ListPathsSafely_If
-    $(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(wordlist $3,$4,$($1)))))
+    $(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(subst $$,$$$$,$(wordlist $3,$4,$($1))))))
 endef
 
 define ListPathsSafely_Printf