Force static linking via pkg-config

This commit is contained in:
BtbN 2020-09-03 17:28:01 +02:00
parent 6bcebd25f3
commit e9b2d7fd19

View file

@ -33,7 +33,7 @@ docker run --rm -i -u "$(id -u):$(id -g)" -v $PWD/ffbuild:/ffbuild "$IMAGE" bash
cd ffmpeg
git checkout $GIT_BRANCH
./configure --prefix=/ffbuild/prefix \$FFBUILD_TARGET_FLAGS $CONFIGURE --extra-cflags="$CFLAGS" --extra-ldflags="$LDFLAGS"
./configure --prefix=/ffbuild/prefix --pkg-config-flags="--static" \$FFBUILD_TARGET_FLAGS $CONFIGURE --extra-cflags="$CFLAGS" --extra-ldflags="$LDFLAGS"
make -j\$(nproc)
make install
EOF