portaudio: fixup .pc file to find alsa library

This commit is contained in:
Bjørn Forsman 2014-07-22 15:29:38 +02:00
parent 0da8390338
commit 28f41870c4

View file

@ -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; {