From b6eec100fcbed77d210d19f46d09ebc4e01059c8 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 26 Oct 2010 12:29:06 +0000 Subject: [PATCH] fix stage1_libs pseudo-target --- ghc.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ghc.mk b/ghc.mk index 1545f4d..df51855 100644 --- a/ghc.mk +++ b/ghc.mk @@ -458,9 +458,6 @@ ifeq "$(BuildSharedLibs)" "YES" ALL_STAGE1_LIBS += $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_dyn_LIB)) endif BOOT_LIBS = $(foreach lib,$(STAGE0_PACKAGES),$(libraries/$(lib)_dist-boot_v_LIB)) -# A useful pseudo-target -.PHONY: stage1_libs -stage1_libs : $(ALL_STAGE1_LIBS) OTHER_LIBS = libffi/dist-install/build/libHSffi$(v_libsuf) libffi/dist-install/build/HSffi.o ifeq "$(BuildSharedLibs)" "YES" @@ -679,6 +676,11 @@ endif include $(patsubst %, %/ghc.mk, $(BUILD_DIRS)) +# A useful pseudo-target (must be after the include above, because it needs +# the value of things like $(libraries/base_dist-install_v_LIB). +.PHONY: stage1_libs +stage1_libs : $(ALL_STAGE1_LIBS) + # ---------------------------------------------- # Per-package compiler flags # -- 1.7.10.4