summaryrefslogtreecommitdiff
path: root/rules/build-package-way.mk
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-12 16:30:52 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-12 16:30:52 +0100
commit5c43947b6917c6b67896d0358da0179b4385ad0e (patch)
tree94725496dae83c0bf685b1482f194b21b5466c92 /rules/build-package-way.mk
parent55478b1ef856d47fba7e7dbd86baa88030d1b1cf (diff)
downloadhaskell-5c43947b6917c6b67896d0358da0179b4385ad0e.tar.gz
Don't build the HS*.o files when DYNAMIC_BY_DEFAULT
We don't use them (we use the .so/.dll instead), so no point generating them.
Diffstat (limited to 'rules/build-package-way.mk')
-rw-r--r--rules/build-package-way.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index a4b604fe24..859d799e89 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -113,6 +113,7 @@ BINDIST_LIBS += $$($1_$2_$3_LIB)
endif
# Build the GHCi library
+ifneq "$$(DYNLiBS_BY_DEFAULT)" "YES"
ifeq "$3" "v"
$1_$2_GHCI_LIB = $1/$2/build/HS$$($1_PACKAGE)-$$($1_$2_VERSION).$$($3_osuf)
ifeq "$$($1_$2_BUILD_GHCI_LIB)" "YES"
@@ -131,6 +132,7 @@ $(call all-target,$1_$2,$$($1_$2_GHCI_LIB))
endif
endif
endif
+endif
$(call profEnd, build-package-way($1,$2,$3))
endef