From: panne Date: Sat, 12 Apr 2003 09:39:03 +0000 (+0000) Subject: [project @ 2003-04-12 09:39:03 by panne] X-Git-Tag: Approx_11550_changesets_converted~966 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=e697a9e81c4e1e305c122b43e24f8928537b432e [project @ 2003-04-12 09:39:03 by panne] Fixed the -print arg to a $(FIND) command, so as to be more compatible with shells. :-) --- diff --git a/mk/target.mk b/mk/target.mk index 6f62c02..209f407 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -304,7 +304,7 @@ SRC_HC_OPTS += -split-objs ifeq "$(ArSupportsInput)" "" define BUILD_LIB $(RM) $@ $@.tmp -(echo $(STUBOBJS) $(C_OBJS); $(FIND) $(patsubst %.$(way_)o,%_split,$(HS_OBJS)) -name '*.$(way_)o') -print | xargs $(AR) $@ +(echo $(STUBOBJS) $(C_OBJS); $(FIND) $(patsubst %.$(way_)o,%_split,$(HS_OBJS)) -name '*.$(way_)o' -print) | xargs $(AR) $@ $(RANLIB) $@ endef else