summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-10-26 12:29:06 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-10-26 12:29:06 +0000
commitb6eec100fcbed77d210d19f46d09ebc4e01059c8 (patch)
treea34c7f265c185825be0a3fa238f3ae75b45345d1 /ghc.mk
parent9917b748b1adc255cc6d603bff5fe6d8df70d5fc (diff)
downloadhaskell-b6eec100fcbed77d210d19f46d09ebc4e01059c8.tar.gz
fix stage1_libs pseudo-target
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/ghc.mk b/ghc.mk
index 1545f4dde4..df51855f8c 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
#