Fix hardcoded target platform.

This commit is contained in:
Danny Wilson
2015-11-16 17:20:13 +01:00
parent e9d6da77cd
commit bb3d083d63
+1 -1
View File
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
# TODO: make it work on darwin/bsd as well
preConfigure = ''
export makeFlags="TARGET=linux2628 PREFIX=$out USE_OPENSSL=yes"
export makeFlags="TARGET=${if stdenv.isSunOS then "solaris" else "linux2628"} PREFIX=$out USE_OPENSSL=yes"
'';
meta = {