use env var for ranlib
@@ -45,7 +45,7 @@ if [[ ${HOST} =~ .*darwin.* ]]; then
mv *.o ${name}_objs
done
${AR} crv libarchive_and_deps.a */*.o
- ranlib libarchive_and_deps.a
+ ${RANLIB} libarchive_and_deps.a
cp libarchive_and_deps.a ${PREFIX}/lib/
popd
fi
@@ -60,6 +60,6 @@ if [[ ${HOST} =~ .*linux.* ]]; then
SAVE
END
EOM
- ranlib libarchive_and_deps.a
+ ${RANLIB} libarchive_and_deps.a
popd
fi
