Sat Mar 5 06:48:25 PST 2011 Ian Lynagh <ig...@earth.li> * Avoid some shell calls in the build system The DEP_INCLUDE_DIRS and DEP_LIB_DIRS variables always contain single-quote dirs, so we can use e.g. $(subst $(space)',$(space)-L',$(space)$($1_$2_DEP_LIB_DIRS_SINGLE_QUOTED)) to add -L to the front of each dir. I've appended "_SINGLE_QUOTED" to the variable names so we don't accidentally add bare directories to them.
M ./rules/distdir-way-opts.mk -6 +4 M ./utils/ghc-cabal/Main.hs -2 +2 View patch online: http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110305144825-3fd76-9042159e0456f3b6d1342d0a58a3328f69b7e8bd.gz _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc