summaryrefslogtreecommitdiff
path: root/rules/build-package-way.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-08-19 14:55:07 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-08-19 14:55:07 +0000
commitafcf3b2a47512fd5f5cbb98da186c81dadb1de43 (patch)
tree03076805292ef708f0f1809b76eb8fe2e290d52e /rules/build-package-way.mk
parente9655493989157820d8a0a7b0f7c311c159ef956 (diff)
downloadhaskell-afcf3b2a47512fd5f5cbb98da186c81dadb1de43.tar.gz
Rolling back: Add a kludge to fix building shared libs
Diffstat (limited to 'rules/build-package-way.mk')
-rw-r--r--rules/build-package-way.mk10
1 files changed, 0 insertions, 10 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index 0be7dc9e3c..f0300be9d1 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -46,16 +46,6 @@ $$($1_$2_$3_LIB) : $$($1_$2_$3_HS_OBJS) $$($1_$2_dyn_C_OBJS) $$($1_$2_dyn_S_OBJS
-shared -dynamic -dynload deploy \
-no-auto-link-packages $$(addprefix -package,$$($1_$2_DEPS)) \
-o $$@
-
-# This is a kludge. The .dyn_hi files currently depend on the .dyn_hi
-# files of modules that they import. But they actually want the .hi
-# files of modules from another package.This we make the .dyn_hi files
-# depend on the .hi files so we are sure that they exist and are
-# up-to-date.
-$$(foreach m,$$(addprefix $1/$2/build/,$$($1_$2_SLASH_MODS)),\
-$$(eval $$(call mkdep,$$m.$$($3_hisuf),$$m.hi)) \
-)
-
else
# Build the ordinary .a library
ifeq "$$($1_$2_SplitObjs)" "YES"