only link libsodium against libssp when building with gcc
This commit is contained in:
parent
c42d36de1a
commit
a86fd94ecc
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "06dabf77cz6qg7aqv5j5r4m32b5zn253pixwb3k5lm3z0h88y7cn";
|
||||
};
|
||||
|
||||
NIX_LDFLAGS = "-lssp";
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString (stdenv.cc.cc.isGNU or false) "-lssp";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue