From 417bc75d7325483208d239037a42f0c174baada3 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Sun, 8 Dec 2024 15:26:04 -0500 Subject: [PATCH] add libdir flag to fix not found by pkg-config --- build-ffmpeg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-ffmpeg b/build-ffmpeg index 0a6ea1e..b277711 100755 --- a/build-ffmpeg +++ b/build-ffmpeg @@ -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")