mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
portaudio: fixup .pc file to find alsa library
This commit is contained in:
parent
0da8390338
commit
28f41870c4
|
@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
|
|||
cp -r lib "$out"
|
||||
'' else ''
|
||||
make install
|
||||
|
||||
# fixup .pc file to find alsa library
|
||||
sed -i "s|-lasound|-L${alsaLib}/lib -lasound|" "$out/lib/pkgconfig/"*.pc
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue