diff options
-rw-r--r-- | rts/ghc.mk | 4 |
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' >> $@ # ---------------------------------------------------------------------------- |