3 --- rules/build-package-way.mk.orig 2010-10-05 12:43:54.000000000 +0000
4 +++ rules/build-package-way.mk
5 @@ -84,7 +84,8 @@ ifneq "$4" "0"
6 BINDIST_LIBS += $$($1_$2_GHCI_LIB)
8 $$($1_$2_GHCI_LIB) : $$($1_$2_$3_HS_OBJS) $$($1_$2_$3_CMM_OBJS) $$($1_$2_$3_C_OBJS) $$($1_$2_$3_S_OBJS) $$($1_$2_EXTRA_OBJS)
9 - "$$(LD)" -r -o $$@ $$(EXTRA_LD_OPTS) $$($1_$2_$3_HS_OBJS) $$($1_$2_$3_CMM_OBJS) $$($1_$2_$3_C_OBJS) $$($1_$2_$3_S_OBJS) `$$($1_$2_$3_MKSTUBOBJS)` $$($1_$2_EXTRA_OBJS)
10 + "$$(LD)" -r -o $$@ $$(EXTRA_LD_OPTS) $$($1_$2_$3_HS_OBJS) $$($1_$2_$3_CMM_OBJS) $$($1_$2_$3_C_OBJS) $$($1_$2_$3_S_OBJS) `$$($1_$2_$3_MKSTUBOBJS)` $$($1_$2_EXTRA_OBJS) \
11 + || (touch empty.c && $$(CC) -o $$@ -c empty.c)
13 $(call all-target,$1_$2,$$($1_$2_GHCI_LIB))