3
0
Fork 0
forked from mirrors/nixpkgs

openssl: isMusl

This commit is contained in:
Will Dietz 2018-02-11 16:57:48 -06:00
parent 6593d882a9
commit cccf48ca0c

View file

@ -24,7 +24,7 @@ let
++ optional (versionOlder version "1.0.2" && hostPlatform.isDarwin)
./darwin-arch.patch;
postPatch = if (versionAtLeast version "1.1.0" && stdenv.isMusl) then ''
postPatch = if (versionAtLeast version "1.1.0" && stdenv.hostPlatform.isMusl) then ''
substituteInPlace crypto/async/arch/async_posix.h \
--replace '!defined(__ANDROID__) && !defined(__OpenBSD__)' \
'!defined(__ANDROID__) && !defined(__OpenBSD__) && 0'