From e9b2d7fd19cbd3df5588fd601551b0832f5ec71e Mon Sep 17 00:00:00 2001 From: BtbN Date: Thu, 3 Sep 2020 17:28:01 +0200 Subject: [PATCH] Force static linking via pkg-config --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e4a3365..2622add 100755 --- a/build.sh +++ b/build.sh @@ -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