Commit 2a06c91a authored by Linshizhi's avatar Linshizhi

update prepare.sh

parent 87582d97
......@@ -64,15 +64,15 @@ ninja -C out/Static
FFMPEG_BUILD_DIR=${EXTERNAL_BUILD_DIR}/ffmpeg
FFMPEG_DIR=${EXTERNAL_DIR}/ffmpeg
cd $FFMPEG_DIR
./configure --disable-programs --enable-shared
make -j install prefix=${FFMPEG_BUILD_DIR}/dist
if [ ! -d "${FFMPEG_BUILD_DIR}" ]; then
mkdir ${FFMPEG_BUILD_DIR}
else
rm -rf ${FFMPEG_BUILD_DIR}/*
fi
cd $FFMPEG_DIR
./configure --disable-programs --enable-shared
make -j install prefix=${FFMPEG_DIR}/dist
cp -r ${FFMPEG_DIR}/dist/include ${FFMPEG_BUILD_DIR}/
cp -r ${FFMPEG_DIR}/dist/lib ${FFMPEG_BUILD_DIR}/
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