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

This commit is contained in:
Michael Raskin 2016-04-13 18:55:39 +02:00
parent be90eb047c
commit 0103d710cc

View File

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