perlPackages.CryptEksblowfish: fix darwin build

This commit is contained in:
Stig Palmquist 2020-06-15 17:46:39 +02:00
parent af3c1000a4
commit e1aff9e44d
No known key found for this signature in database
GPG key ID: DA4C335C11D70DA7

View file

@ -3614,7 +3614,7 @@ let
sha256 = "3cc7126d5841107237a9be2dc5c7fbc167cf3c4b4ce34678a8448b850757014c";
};
propagatedBuildInputs = [ ClassMix ];
perlPreHook = stdenv.lib.optionalString stdenv.isi686 "export LD=$CC"; # fix undefined reference to `__stack_chk_fail_local'
perlPreHook = stdenv.lib.optionalString (stdenv.isi686 || stdenv.isDarwin) "export LD=$CC";
};
CryptIDEA = buildPerlPackage {