mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-06-12 13:27:38 +02:00
Move dirs to base image
This commit is contained in:
4
build.sh
4
build.sh
@ -44,10 +44,6 @@ docker run --rm -i -u "$(id -u):$(id -g)" -v $PWD/ffbuild:/ffbuild "$IMAGE" bash
|
||||
cd ffmpeg
|
||||
git checkout $GIT_BRANCH
|
||||
|
||||
export CFLAGS="\$CFLAGS -I\${FFBUILD_PREFIX}/include"
|
||||
export CXXFLAGS="\$CXXFLAGS -I\${FFBUILD_PREFIX}/include"
|
||||
export LDFLAGS="\$LDFLAGS -L\${FFBUILD_PREFIX}/lib"
|
||||
|
||||
./configure --prefix=/ffbuild/prefix --pkg-config-flags="--static" \$FFBUILD_TARGET_FLAGS $FF_CONFIGURE --extra-cflags="$FF_CFLAGS" --extra-cxxflags="$FF_CXXFLAGS" --extra-ldflags="$FF_LDFLAGS"
|
||||
make -j\$(nproc)
|
||||
make install
|
||||
|
Reference in New Issue
Block a user