X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc%2Fcompiler%2FMakefile;h=12e50eb711652fba7fa76490c38424afd154e968;hp=efdba2d5633c8da524cb798e40d23751f3f8dfa2;hb=ab3a88f2dc64677df8fb92dacef47570ac3c5023;hpb=b4222d807a49109c613c00f82ce95f9d50bef854 diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index efdba2d..12e50eb 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -513,6 +513,11 @@ ifeq "$(stage)" "1" SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR) SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat +ifeq "$(Windows)" "YES" +# not very nice, but required for -lghccompat on Windows +SRC_LD_OPTS += -lshell32 +endif + # This is horrible. We ought to be able to omit the entire directory # from mkDependHS. SRC_MKDEPENDHS_OPTS += \