X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fbuild-package-way.mk;h=f0300be9d1848c283ae18a6d844e029f1bf7de69;hb=4a84e214da8a2d87d2fd819d59fb06115e98014c;hp=0be7dc9e3c84bbcfd854286c2037367df23a0fde;hpb=74df25b15c34c4554660b76d1ae09b721d0aa59b;p=ghc-hetmet.git diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk index 0be7dc9..f0300be 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"