Commit efdc2c8c authored by michaelni's avatar michaelni

ar -s -> ranlib


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@900 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 28f79f90
......@@ -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
......
......@@ -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
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment