X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2Fstd%2FMakefile;h=c1c3e90f97110b678027e888ca133dbd561708e1;hb=90fdf6fe22eebb4140f0b26bf138be6fdad43198;hp=214d58266052bcc1dd37c6c1982e5d9b0089e879;hpb=d2c2c9372b2479adddc5cd6f6ecfbc4d7740ca32;p=ghc-hetmet.git diff --git a/ghc/lib/std/Makefile b/ghc/lib/std/Makefile index 214d582..c1c3e90 100644 --- a/ghc/lib/std/Makefile +++ b/ghc/lib/std/Makefile @@ -25,14 +25,13 @@ endif HC = $(GHC_INPLACE) -ifneq "$(DLLized)" "YES" -PACKAGE = -package-name std -else +# *** THIS WON'T WORK ANY MORE *** (PACKAGE is now set in fptools/mk/target.mk) +ifeq "$(DLLized)" "YES" # Hack by SPJ to delay if-then-else until the pattern rule when we have $* PACKAGE = $(subst ~, ,$(word $(words dummy $(findstring $(notdir $*), PrelMain )), -package-name~std)) endif -HSLIB = std +PACKAGE = std BOOT_SRCS += PrelPrimopWrappers.hs