Force static linking via pkg-config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user