Merge pull request #28375 from obsidiansystems/perl-ld-cc

perl-ExtUtils-LibBuilder: Use the C compiler to link

authored by John Wiegley and committed by GitHub d8b02ef3 57c1f09f

+1
+1
pkgs/top-level/perl-packages.nix
··· 5119 url = "mirror://cpan/authors/id/A/AM/AMBS/${name}.tar.gz"; 5120 sha256 = "1lmmfcjxvsvhn4f3v2lyylgr8dzcf5j7mnd1pkq3jc75dph724f5"; 5121 }; 5122 meta = { 5123 description = "A tool to build C libraries"; 5124 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
··· 5119 url = "mirror://cpan/authors/id/A/AM/AMBS/${name}.tar.gz"; 5120 sha256 = "1lmmfcjxvsvhn4f3v2lyylgr8dzcf5j7mnd1pkq3jc75dph724f5"; 5121 }; 5122 + perlPreHook = "export LD=$CC"; 5123 meta = { 5124 description = "A tool to build C libraries"; 5125 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];