[commit: ghc] master: Tidy up some build system code (4a55e81)
Ian Lynagh
igloo at earth.li
Mon Apr 29 00:20:30 CEST 2013
Repository : http://darcs.haskell.org/ghc.git/
On branch : master
https://github.com/ghc/ghc/commit/4a55e819ab9e5a48b02de8c0cf480086de504f38
>---------------------------------------------------------------
commit 4a55e819ab9e5a48b02de8c0cf480086de504f38
Author: Ian Lynagh <ian at well-typed.com>
Date: Sun Apr 28 22:02:11 2013 +0100
Tidy up some build system code
>---------------------------------------------------------------
rts/ghc.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rts/ghc.mk b/rts/ghc.mk
index b84c9f5..37fe806 100644
--- a/rts/ghc.mk
+++ b/rts/ghc.mk
@@ -70,8 +70,8 @@ endif
# collect the -l flags that we need to link the rts dyn lib.
rts/libs.depend : $$(ghc-pkg_INPLACE)
- "$(ghc-pkg_INPLACE)" field rts extra-libraries \
- | sed -e 's/^extra-libraries: //' -e 's/\([a-z0-9]*\)[ ]*/-l\1 /g' > $@
+ "$(ghc-pkg_INPLACE)" --simple-output field rts extra-libraries \
+ | -e 's/\([a-z0-9]\+\)/-l\1/g' > $@
# ----------------------------------------------------------------------------
More information about the ghc-commits
mailing list