summaryrefslogtreecommitdiff
path: root/data/x264/tools.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/x264/tools.diff')
-rw-r--r--data/x264/tools.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/x264/tools.diff b/data/x264/tools.diff
index 722e26e85..2974dbb44 100644
--- a/data/x264/tools.diff
+++ b/data/x264/tools.diff
@@ -7,8 +7,8 @@ diff -ru x264-snapshot-20080226-2245/Makefile x264-snapshot-20080226-2245+iPhone
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
++ "$${PKG_TARG}-ar" rc libx264.a $(OBJS) $(OBJASM)
++ "$${PKG_TARG}-ranlib" libx264.a
$(SONAME): .depend $(OBJS) $(OBJASM)
$(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
@@ -17,7 +17,7 @@ diff -ru x264-snapshot-20080226-2245/Makefile x264-snapshot-20080226-2245+iPhone
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
++ "$${PKG_TARG}-ranlib" $(DESTDIR)$(libdir)/libx264.a
$(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so)
$(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))