From: walterav1984 Date: Sun, 29 Jan 2017 13:10:42 +0000 (+0100) Subject: dirty hack replace shipped ffmpeg linux libs with compiled ones! X-Git-Tag: 2.1.0_Beta2~105^2~2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8be555d5961ed96fe04ea222641d38b618bafa7e;p=casparcg dirty hack replace shipped ffmpeg linux libs with compiled ones! If this is done prior to building CasparCG Server with "/build-scripts/set-variables-and-build-linux.sh" building will include the custom ffmpeg version! --- diff --git a/dependencies64/ffmpeg/ffmpeg-build-linux/build.sh b/dependencies64/ffmpeg/ffmpeg-build-linux/build.sh index 1323f7554..f27814926 100755 --- a/dependencies64/ffmpeg/ffmpeg-build-linux/build.sh +++ b/dependencies64/ffmpeg/ffmpeg-build-linux/build.sh @@ -448,3 +448,11 @@ CFLAGS="-I$TARGET_DIR/include -I$TARGET_DIR/usr/local/include" LDFLAGS="-L$TARGE --enable-libv4l2 \ --enable-zlib make -j $jval && make install + +#dirty hack +#replace shipped ffmpeg linux libs with compiled ones from here! +cd $BUILD_DIR +mv ../../bin/linux ../../bin/linux-shipped +cp -r ../target/lib ../../bin/linux +#some ffmpeg libs are build in a different shared target folder +cp ../target/usr/local/lib/* ../../bin/linux/