1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

merge from wukong, fix the bug of build x264 on minimal server

This commit is contained in:
winlin 2014-05-06 13:51:38 +08:00
parent 94076b3246
commit ae372de65e
2 changed files with 23 additions and 1 deletions

View file

@ -77,7 +77,9 @@ else
cd $ff_current_dir &&
rm -rf x264-snapshot-20131129-2245-stable && unzip -q ${ff_src_dir}/x264-snapshot-20131129-2245-stable.zip &&
cd x264-snapshot-20131129-2245-stable &&
./configure --prefix=${ff_release_dir} --disable-opencl --bit-depth=8 --enable-static &&
./configure --prefix=${ff_release_dir} --disable-opencl --bit-depth=8 --enable-static \
--disable-avs --disable-swscale --disable-lavf \
--disable-ffms --disable-gpac &&
make ${SRS_JOBS} && make install
ret=$?; if [[ 0 -ne ${ret} ]]; then echo "build x264 failed"; exit 1; fi
fi