X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=ghc.mk;h=159f15edf150977070a921d5e08134ffb2fdf7e0;hp=b070777035fcda33d1e067d7e1bd146c6925d171;hb=e19fa5346dec26f83cfda8e9802d9652a342d111;hpb=7eb456b97c5a9911981afa172acf9ef50b75f9fa diff --git a/ghc.mk b/ghc.mk index b070777..159f15e 100644 --- a/ghc.mk +++ b/ghc.mk @@ -356,6 +356,8 @@ endif # so we don't have to include it below. BOOT_PKGS = Cabal hpc extensible-exceptions binary bin-package-db +BOOT_PKG_CONSTRAINTS := $(foreach p,$(BOOT_PKGS),--constraint "$p == $(shell grep -i "^Version:" libraries/$p/$p.cabal | sed "s/[^0-9.]//g")") + # The actual .a and .so/.dll files: needed for dependencies. ALL_STAGE1_LIBS = $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_v_LIB)) ifeq "$(BuildSharedLibs)" "YES"