summary refs log tree commit diff
path: root/pkgs/applications/audio/csound
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2016-04-13 18:55:39 +0200
committerMichael Raskin <7c6f434c@mail.ru>2016-04-13 18:55:39 +0200
commit0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532 (patch)
treed541289e27ef9520f92d09a7626c5c37f7eb7018 /pkgs/applications/audio/csound
parentbe90eb047c03c74ccd6ca03703fb69696fc288f8 (diff)
downloadnixlib-0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532.tar
nixlib-0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532.tar.gz
nixlib-0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532.tar.bz2
nixlib-0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532.tar.lz
nixlib-0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532.tar.xz
nixlib-0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532.tar.zst
nixlib-0103d710cce3b8b6c1f3c7e5c2e2d6f5201b5532.zip
csound: fix build (pthread not found) by adding stdenv.cc.libc.out/lib to -L. No idea why this is not default enough specifically when cmake is used
Diffstat (limited to 'pkgs/applications/audio/csound')
-rw-r--r--pkgs/applications/audio/csound/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/audio/csound/default.nix b/pkgs/applications/audio/csound/default.nix
index afca63a2a8a2..6e2ba7cfd165 100644
--- a/pkgs/applications/audio/csound/default.nix
+++ b/pkgs/applications/audio/csound/default.nix
@@ -23,6 +23,8 @@ stdenv.mkDerivation {
 
   buildInputs = [ cmake libsndfile flex bison alsaLib libpulseaudio tcltk ];
 
+  NIX_LDFLAGS="-L${stdenv.cc.libc.out}/lib";
+
   meta = {
     description = "sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
     homepage = http://www.csounds.com/;