build: Support spaces in CFG_LDPATH.

This commit is contained in:
Patrick Walton 2011-03-21 11:55:17 -07:00
parent e961f5303d
commit a5caa310e4

View File

@ -70,8 +70,8 @@ ifdef CFG_WINDOWSY
CFG_LIB_NAME=$(1).dll
CFG_LDPATH :=$(CFG_LDPATH):$(CFG_LLVM_BINDIR)
CFG_LDPATH :=$(CFG_LDPATH):$$PATH
CFG_RUN_TEST=PATH=$(CFG_LDPATH) $(1)
CFG_RUN_TARG=PATH=$(CFG_LDPATH) $(1)
CFG_RUN_TEST=PATH="$(CFG_LDPATH)" $(1)
CFG_RUN_TARG=PATH="$(CFG_LDPATH)" $(1)
CFG_PATH_MUNGE := $(strip | perl -p \
-e 's@\\(.)@/\1@go;' \