X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fghc.mk;h=631588772e69e71505ff03d9561e8fb8c7ca6b01;hb=abc6d6fab6ff9ebbdee9424d5ba7f1c37c41bac8;hp=ada683a21ab8d417dd0bb2137b754c87dfb31520;hpb=f84a0b7028424ea167658c06e75e871198371f00;p=ghc-hetmet.git diff --git a/rts/ghc.mk b/rts/ghc.mk index ada683a..6315887 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -72,7 +72,7 @@ rts_H_FILES = $(wildcard includes/*.h) $(wildcard rts/*.h) # 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-z]*\)/-l\1/g' > $@ + | sed -e 's/^extra-libraries: //' -e 's/\([a-z0-9]*\)[ ]*/-l\1 /g' > $@ #----------------------------------------------------------------------------- # Building one way