openssl: fix build linux with clangStdenv

This commit is contained in:
Jörg Thalheim 2020-01-14 14:19:04 +00:00 committed by Matthieu Coudron
parent 10b1ba0c93
commit 00a2084a40

View File

@ -36,7 +36,7 @@ let
outputs = [ "bin" "dev" "out" "man" ] ++ optional withDocs "doc";
setOutputFlags = false;
separateDebugInfo = stdenv.hostPlatform.isLinux;
separateDebugInfo = stdenv.cc.isGNU;
nativeBuildInputs = [ perl ];
buildInputs = stdenv.lib.optional withCryptodev cryptodev;