Force static linking via pkg-config
This commit is contained in:
parent
6bcebd25f3
commit
e9b2d7fd19
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -33,7 +33,7 @@ docker run --rm -i -u "$(id -u):$(id -g)" -v $PWD/ffbuild:/ffbuild "$IMAGE" bash
|
||||||
cd ffmpeg
|
cd ffmpeg
|
||||||
git checkout $GIT_BRANCH
|
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 -j\$(nproc)
|
||||||
make install
|
make install
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue