mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
perl: Don't use builtin zlib and bzip2
This commit is contained in:
parent
954801a9a8
commit
86f9f5d128
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, enableThreading ? stdenv ? glibc }:
|
||||
{ stdenv, fetchurl, bzip2, zlib, enableThreading ? stdenv ? glibc }:
|
||||
|
||||
# We can only compile perl with threading on platforms where we have a
|
||||
# real glibc in the stdenv.
|
||||
@ -33,7 +33,12 @@ stdenv.mkDerivation rec {
|
||||
./no-sys-dirs.patch
|
||||
]
|
||||
++ optional stdenv.isSunOS ./ld-shared.patch
|
||||
++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ] ;
|
||||
++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ];
|
||||
|
||||
buildInputs = [ zlib bzip2 ];
|
||||
|
||||
BUILD_ZLIB = "false";
|
||||
BUILD_BZIP2 = "0";
|
||||
|
||||
# Build a thread-safe Perl with a dynamic libperls.o. We need the
|
||||
# "installstyle" option to ensure that modules are put under
|
||||
|
Loading…
Reference in New Issue
Block a user