X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=793cf6b007a26f99f434fb025dc745e11732b07d;hb=b93e282a8c2e86ebdf2bc05fce91f001c53bd88d;hp=fa6d4a557bb9d56612711c388a96637f6446aa30;hpb=f4629357f3eb3714955fc3f8ac81440123e7caf4;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index fa6d4a5..793cf6b 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -845,7 +845,7 @@ VERSION = $(ProjectVersion) PKG_DEPENDS += base haskell98 # We have to expand each package dependency with its version, which we # can do by calling "ghc-pkg list $pkg --simple-output". -PACKAGE_CPP_OPTS += -DPKG_DEPENDS='$(foreach pkg,$(PKG_DEPENDS),$(shell $(GHC_PKG_INPLACE) list $(pkg) --simple-output))' +PACKAGE_CPP_OPTS += -DPKG_DEPENDS='$(foreach pkg,$(PKG_DEPENDS),$(shell $(GHC_PKG_INPLACE) latest --global $(pkg)))' PACKAGE_CPP_OPTS += -DSTAGE='"$(stage)"' # Omit Main from the library, the client will want to plug their own Main in