mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
fix problem: cannot build x264 normal minimal Linux
parameters: External library support: --disable-avs disable avisynth support --disable-swscale disable swscale support --disable-lavf disable libavformat support --disable-ffms disable ffmpegsource support --disable-gpac disable gpac support There have no ffmpeg or libav when build x264, so no needed these parameters. Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
This commit is contained in:
parent
94076b3246
commit
7ba7fd487e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue