diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-12 16:30:52 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-12 16:30:52 +0100 |
commit | 5c43947b6917c6b67896d0358da0179b4385ad0e (patch) | |
tree | 94725496dae83c0bf685b1482f194b21b5466c92 /rules | |
parent | 55478b1ef856d47fba7e7dbd86baa88030d1b1cf (diff) | |
download | haskell-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')
-rw-r--r-- | rules/build-package-way.mk | 2 |
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 |