aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-02 16:48:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-02 16:48:40 +0000
commitbe7109c12b95b6ab2490b9e035db9143b43f8d73 (patch)
tree70548db0d9899e71f7272e6fc3a7c7b446cc00cf
parentecfd40b390732056dc9cb3b79b1ab63c22c7700a (diff)
downloadffmpeg-be7109c12b95b6ab2490b9e035db9143b43f8d73.tar.gz
ar -s -> ranlib
Originally committed as revision 900 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure3
-rw-r--r--libav/Makefile3
-rw-r--r--libavcodec/Makefile3
3 files changed, 7 insertions, 2 deletions
diff --git a/configure b/configure
index 39342a1c40..d56cd98c1f 100755
--- a/configure
+++ b/configure
@@ -21,6 +21,7 @@ prefix="/usr/local"
cross_prefix=""
cc="gcc"
ar="ar"
+ranlib="ranlib"
make="make"
strip="strip"
cpu=`uname -m`
@@ -239,6 +240,7 @@ fi
cc="${cross_prefix}${cc}"
ar="${cross_prefix}${ar}"
+ranlib="${cross_prefix}${ranlib}"
strip="${cross_prefix}${strip}"
# ---
@@ -392,6 +394,7 @@ echo "prefix=$prefix" >> config.mak
echo "MAKE=$make" >> config.mak
echo "CC=$cc" >> config.mak
echo "AR=$ar" >> config.mak
+echo "RANLIB=$ranlib" >> config.mak
echo "STRIP=$strip" >> config.mak
echo "OPTFLAGS=$CFLAGS" >> config.mak
echo "LDFLAGS=$LDFLAGS" >> config.mak
diff --git a/libav/Makefile b/libav/Makefile
index 1a535ffb96..b8b93cc362 100644
--- a/libav/Makefile
+++ b/libav/Makefile
@@ -43,7 +43,8 @@ all: $(LIB)
$(LIB): $(OBJS)
rm -f $@
- $(AR) rcs $@ $(OBJS)
+ $(AR) rc $@ $(OBJS)
+ $(RANLIB) $@
installlib: all
install -m 644 $(LIB) $(prefix)/lib
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 31f5be28a6..d66dfcad14 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -96,7 +96,8 @@ tests: apiexample cpuid_test $(TESTS)
$(LIB): $(OBJS)
rm -f $@
- $(AR) rcs $@ $(OBJS)
+ $(AR) rc $@ $(OBJS)
+ $(RANLIB) $@
$(SLIB): $(OBJS)
$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)