zlib/cross: Fix build for Darwin.
Provide the correct cross ranlib, because native ranlib will fail. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
30962765e0
commit
8c053312b5
@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
|
|||||||
"-f" "win32/Makefile.gcc"
|
"-f" "win32/Makefile.gcc"
|
||||||
"PREFIX=${stdenv.cross.config}-"
|
"PREFIX=${stdenv.cross.config}-"
|
||||||
] ++ (if static then [] else [ "SHARED_MODE=1" ]);
|
] ++ (if static then [] else [ "SHARED_MODE=1" ]);
|
||||||
|
} // stdenv.lib.optionalAttrs (stdenv.cross.libc == "libSystem") {
|
||||||
|
makeFlags = [ "RANLIB=${stdenv.cross.config}-ranlib" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
|
# zlib doesn't like the automatic --disable-shared from the Cygwin stdenv.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user