openssl: isMusl
This commit is contained in:
parent
6593d882a9
commit
cccf48ca0c
@ -24,7 +24,7 @@ let
|
|||||||
++ optional (versionOlder version "1.0.2" && hostPlatform.isDarwin)
|
++ optional (versionOlder version "1.0.2" && hostPlatform.isDarwin)
|
||||||
./darwin-arch.patch;
|
./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 \
|
substituteInPlace crypto/async/arch/async_posix.h \
|
||||||
--replace '!defined(__ANDROID__) && !defined(__OpenBSD__)' \
|
--replace '!defined(__ANDROID__) && !defined(__OpenBSD__)' \
|
||||||
'!defined(__ANDROID__) && !defined(__OpenBSD__) && 0'
|
'!defined(__ANDROID__) && !defined(__OpenBSD__) && 0'
|
||||||
|
Loading…
Reference in New Issue
Block a user