Skip to content

Commit c236891

Browse files
committed
fix centos build error
1 parent 27f6e0f commit c236891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-ffmpeg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,14 +475,15 @@ if build "libwebp"; then
475475
download "https://github.com/webmproject/libwebp/archive/v1.1.0.tar.gz" "libwebp-1.1.0.tar.gz"
476476
make_dir build
477477
cd build || exit
478-
execute cmake -DCMAKE_INSTALL_PREFIX="${WORKSPACE}" -DENABLE_SHARED=OFF -DENABLE_STATIC=ON ../
478+
execute cmake -DCMAKE_INSTALL_PREFIX="${WORKSPACE}" -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_BINDIR=bin -DCMAKE_INSTALL_INCLUDEDIR=include -DENABLE_SHARED=OFF -DENABLE_STATIC=ON ../
479479
execute make -j $MJOBS
480480
execute make install
481481

482482
build_done "libwebp"
483483
fi
484484
CONFIGURE_OPTIONS+=("--enable-libwebp")
485485

486+
486487
##
487488
## other library
488489
##
@@ -551,7 +552,6 @@ download "https://ffmpeg.org/releases/ffmpeg-4.3.1.tar.bz2"
551552
./configure "${CONFIGURE_OPTIONS[@]}" \
552553
--disable-debug \
553554
--disable-doc \
554-
--disable-ffplay \
555555
--disable-shared \
556556
--enable-gpl \
557557
--enable-nonfree \

0 commit comments

Comments
 (0)