ffmpeg: use prefixed pkg-config if needed

Helpful for when we introduce an always prefixed pkg-config.
This commit is contained in:
Rick van Schijndel
2022-10-19 20:38:28 +02:00
committed by Rick van Schijndel
parent 36abd4f593
commit 390d78cc23
@@ -71,6 +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"
# License
"--enable-gpl"
"--enable-version3"