ffmpeg: fix cross

pkg-config will be the next pkg-config so its targetPrefix will be wrong
This commit is contained in:
Artturin
2022-11-07 22:28:14 +02:00
parent 2abc0277f0
commit 22ec8cd807
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
configureFlags = filter (v: v != null) ([
"--arch=${stdenv.hostPlatform.parsed.cpu.name}"
"--target_os=${stdenv.hostPlatform.parsed.kernel.name}"
"--pkg-config=${pkg-config.targetPrefix}pkg-config"
"--pkg-config=${buildPackages.pkg-config.targetPrefix}pkg-config"
# License
"--enable-gpl"
"--enable-version3"