summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-04-28 22:15:44 +0100
committerIan Lynagh <ian@well-typed.com>2013-04-28 22:31:33 +0100
commit50e78dafd0cac5ca3b28ef71559899f179343ddf (patch)
tree1f5d7351f258ea31911a8360931adccd6ca23dca /rts
parent23f5080ceb2e6809430a6ffc40f612b23aa86327 (diff)
downloadhaskell-50e78dafd0cac5ca3b28ef71559899f179343ddf.tar.gz
Fix build
Diffstat (limited to 'rts')
-rw-r--r--rts/ghc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/ghc.mk b/rts/ghc.mk
index 194309df77..166b773c4a 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' >> $@
# ----------------------------------------------------------------------------