zlib: fix windows static compile
This commit is contained in:
parent
61a31ad3d6
commit
9c662a39b2
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ stdenv.mkDerivation (rec {
|
||||||
''
|
''
|
||||||
# Non-typical naming confuses libtool which then refuses to use zlib's DLL
|
# Non-typical naming confuses libtool which then refuses to use zlib's DLL
|
||||||
# in some cases, e.g. when compiling libpng.
|
# in some cases, e.g. when compiling libpng.
|
||||||
+ lib.optionalString (stdenv.hostPlatform.libc == "msvcrt") ''
|
+ lib.optionalString (stdenv.hostPlatform.libc == "msvcrt" && shared) ''
|
||||||
ln -s zlib1.dll $out/bin/libz.dll
|
ln -s zlib1.dll $out/bin/libz.dll
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue