diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-22 15:29:38 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-22 21:24:25 +0200 |
commit | 28f41870c478acb0d179a547f2ec27a68b5ea02e (patch) | |
tree | 73ddd0435c093ef1823baa6929302f0cf414589a /pkgs/development/libraries/portaudio/default.nix | |
parent | 0da8390338acb60f818199c87e9629444ca89d8a (diff) |
portaudio: fixup .pc file to find alsa library
Diffstat (limited to 'pkgs/development/libraries/portaudio/default.nix')
-rw-r--r-- | pkgs/development/libraries/portaudio/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/portaudio/default.nix b/pkgs/development/libraries/portaudio/default.nix index f405e30433fbe..46d5128140151 100644 --- a/pkgs/development/libraries/portaudio/default.nix +++ b/pkgs/development/libraries/portaudio/default.nix @@ -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; { |