libspatialaudio: fix libmysofa in .pc
It got broken by libmysofa getting outputs in 2deee7991
(PR #226505).
https://hydra.nixos.org/build/217838949/nixlog/1/tail
This commit is contained in:
parent
a996545f31
commit
705277a96f
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ libmysofa zlib ];
|
buildInputs = [ libmysofa zlib ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
substituteInPlace "''${!outputDev}/lib/pkgconfig/spatialaudio.pc" \
|
||||||
|
--replace '-L${lib.getDev libmysofa}' '-L${lib.getLib libmysofa}'
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description =
|
description =
|
||||||
"Ambisonic encoding / decoding and binauralization library in C++";
|
"Ambisonic encoding / decoding and binauralization library in C++";
|
||||||
|
|
Loading…
Reference in a new issue