Skip to content

Commit

Permalink
Merge pull request #235 from NicholasFlamy/rav1e-not-found-fix
Browse files Browse the repository at this point in the history
add libdir flag to fix rav1e >= 0.5.0 not found using pkg-config
  • Loading branch information
markus-perl authored Dec 13, 2024
2 parents fcbcb3c + 417bc75 commit 7ea5427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ if command_exists "cargo"; then
execute cargo install cargo-c
download "https://github.com/xiph/rav1e/archive/refs/tags/v$CURRENT_PACKAGE_VERSION.tar.gz"
export RUSTFLAGS="-C target-cpu=native"
execute cargo cinstall --prefix="${WORKSPACE}" --library-type=staticlib --crt-static --release
execute cargo cinstall --prefix="${WORKSPACE}" --libdir=lib --library-type=staticlib --crt-static --release
build_done "rav1e" $CURRENT_PACKAGE_VERSION
fi
CONFIGURE_OPTIONS+=("--enable-librav1e")
Expand Down

0 comments on commit 7ea5427

Please sign in to comment.