Skip to content

Commit

Permalink
Run ranlib on libvpx.a after install
Browse files Browse the repository at this point in the history
libvpx strips it, which mangles the symbol index when LTO is enabled.
ranlib fixes it again.
  • Loading branch information
BtbN committed Nov 2, 2022
1 parent ec535f4 commit 009c516
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts.d/50-libvpx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 009c516

Please sign in to comment.