Fix silly make macro mistake in a rule used in the --enable-shared case
[ghc-hetmet.git] / rts / ghc.mk
index c4a3dd5..169e4b1 100644 (file)
@@ -75,8 +75,8 @@ rts_H_FILES = $(wildcard $(GHC_INCLUDE_DIR)/*.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' > $$@
+       $(GHC_PKG_INPLACE) field rts extra-libraries \
+         | sed -e 's/^extra-libraries: //' -e 's/\([a-z]*\)/-l\1/g' > $@
 
 #-----------------------------------------------------------------------------
 # Building one way