diff -ru x264-snapshot-20080226-2245/Makefile x264-snapshot-20080226-2245+iPhone/Makefile --- x264-snapshot-20080226-2245/Makefile 2008-02-26 21:45:02.000000000 +0000 +++ x264-snapshot-20080226-2245+iPhone/Makefile 2008-02-27 08:11:19.000000000 +0000 @@ -74,8 +74,8 @@ default: $(DEP) x264$(EXE) libx264.a: .depend $(OBJS) $(OBJASM) - ar rc libx264.a $(OBJS) $(OBJASM) - ranlib libx264.a + arm-apple-darwin-ar rc libx264.a $(OBJS) $(OBJASM) + arm-apple-darwin-ranlib libx264.a $(SONAME): .depend $(OBJS) $(OBJASM) $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS) @@ -156,7 +156,7 @@ install -m 644 libx264.a $(DESTDIR)$(libdir) install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig install x264 $(DESTDIR)$(bindir) - ranlib $(DESTDIR)$(libdir)/libx264.a + arm-apple-darwin-ranlib $(DESTDIR)$(libdir)/libx264.a $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so) $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))