squeezelite: reduce LDADD
This commit is contained in:
parent
524f06e386
commit
7d2ef68891
|
@ -82,9 +82,9 @@ stdenv.mkDerivation {
|
||||||
++ optional resampleSupport "-DRESAMPLE"
|
++ optional resampleSupport "-DRESAMPLE"
|
||||||
++ optional sslSupport "-DUSE_SSL";
|
++ optional sslSupport "-DUSE_SSL";
|
||||||
|
|
||||||
LDADD = if stdenv.isLinux
|
env = lib.optionalAttrs stdenv.isDarwin {
|
||||||
then null
|
LDADD = "-lportaudio -lpthread";
|
||||||
else "-lportaudio -lpthread -ldl -lm -framework CoreVideo -framework VideoDecodeAcceleration -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon";
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
Loading…
Reference in a new issue