Run ranlib on libvpx.a after install

libvpx strips it, which mangles the symbol index when LTO is enabled.
ranlib fixes it again.
This commit is contained in:
BtbN 2022-11-02 22:09:11 +01:00
parent ec535f414f
commit 009c516860

View file

@ -51,6 +51,9 @@ ffbuild_dockerbuild() {
./configure "${myconf[@]}"
make -j$(nproc)
make install
# Work around strip breaking LTO symbol index
"$RANLIB" "$FFBUILD_PREFIX"/lib/libvpx.a
}
ffbuild_configure() {