]> git.sesse.net Git - casparcg/commitdiff
dirty hack replace shipped ffmpeg linux libs with compiled ones!
authorwalterav1984 <walterav1984@gmail.com>
Sun, 29 Jan 2017 13:10:42 +0000 (14:10 +0100)
committerGitHub <noreply@github.com>
Sun, 29 Jan 2017 13:10:42 +0000 (14:10 +0100)
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!

dependencies64/ffmpeg/ffmpeg-build-linux/build.sh

index 1323f7554a992222f2d6d41111b3d63a88386ec6..f27814926cff040b2070e7943ef47bf44424b0db 100755 (executable)
@@ -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/