[commit: ghc] master: Fix build (50e78da)

Ian Lynagh igloo at earth.li
Mon Apr 29 00:20:34 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/50e78dafd0cac5ca3b28ef71559899f179343ddf

>---------------------------------------------------------------

commit 50e78dafd0cac5ca3b28ef71559899f179343ddf
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun Apr 28 22:15:44 2013 +0100

    Fix build

>---------------------------------------------------------------

 rts/ghc.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rts/ghc.mk b/rts/ghc.mk
index 194309d..166b773 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -71,9 +71,9 @@ endif
 # collect the -l and -L flags that we need to link the rts dyn lib.
 rts/libs.depend : $$(ghc-pkg_INPLACE)
 	"$(ghc-pkg_INPLACE)" --simple-output field rts extra-libraries \
-	  | -e 's/\([a-z0-9]\+\)/-l\1/g' > $@
+	  | sed -e 's/\([^ ]\+\)/-l\1/g' > $@
 	"$(ghc-pkg_INPLACE)" --simple-output field rts library-dirs \
-	  | -e 's/\([a-z0-9]\+\)/-L\1/g' >> $@
+	  | sed -e 's/\([^ ]\+\)/-L\1/g' >> $@
 
 
 # ----------------------------------------------------------------------------





More information about the ghc-commits mailing list