fix build when let expressions aren't available

This commit is contained in:
Joel Dice 2013-03-04 14:42:18 -07:00
parent 5d730fe8fa
commit caa632d601

View File

@ -1678,9 +1678,8 @@ $(static-library): $(vm-objects) $(classpath-objects) $(vm-heapwalk-objects) \
@rm -rf $(build)/libavian
@mkdir -p $(build)/libavian
rm -rf $(@)
let i=0; for x in $(^); \
do cp $${x} $(build)/libavian/avian_$${i}.o; \
let i=i+1; \
for x in $(^); \
do cp $${x} $(build)/libavian/$$(echo $${x} | sed s:/:_:g); \
done
ifdef ms_cl_compiler
$(ar) $(arflags) $(build)/libavian/*.o -out:$(@)