From bce41a5cce331b98e87573abac2d852654de93cb Mon Sep 17 00:00:00 2001 From: BtbN Date: Thu, 6 Oct 2022 14:33:36 +0200 Subject: [PATCH] Disable liblzma/xz symbol versioning Does not make a whole lot of sense for static builds to begin with, and since https://github.com/xz-mirror/xz/commit/913ddc5572b9455fa0cf299be2e35c708840e922 it's outright broken for unknown reasons: ld: libavcodec/libavcodec.so.59: version node not found for symbol lzma_get_progress@XZ_5.2.2 ld: failed to set dynamic section sizes: bad value --- scripts.d/25-xz.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts.d/25-xz.sh b/scripts.d/25-xz.sh index 890a381..17e3619 100755 --- a/scripts.d/25-xz.sh +++ b/scripts.d/25-xz.sh @@ -15,6 +15,7 @@ ffbuild_dockerbuild() { local myconf=( --prefix="$FFBUILD_PREFIX" + --disable-symbol-versions --disable-shared --enable-static --with-pic