Skip to content

Commit

Permalink
add libdir flag to fix not found by pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasFlamy committed Dec 8, 2024
1 parent fcbcb3c commit 417bc75
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 417bc75

Please sign in to comment.