From abc6d6fab6ff9ebbdee9424d5ba7f1c37c41bac8 Mon Sep 17 00:00:00 2001 From: "Ben.Lippmeier@anu.edu.au" Date: Tue, 6 Oct 2009 05:26:16 +0000 Subject: [PATCH] Handle deps with numbers in them, like 'wsock32'. --- rts/ghc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4