Merge pull request #90509 from stigtsp/package/crypt-eksblowfish-fix-darwin

perlPackages.CryptEksblowfish: fix darwin build
This commit is contained in:
Aaron Andersen 2020-06-17 07:08:08 -04:00 committed by GitHub
commit ca25fdf7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {