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

perl-ExtUtils-LibBuilder: Use the C compiler to link
This commit is contained in:
John Wiegley 2017-08-18 13:32:47 -07:00 committed by GitHub
commit d8b02ef359

View File

@ -5119,6 +5119,7 @@ let self = _self // overrides; _self = with self; {
url = "mirror://cpan/authors/id/A/AM/AMBS/${name}.tar.gz"; url = "mirror://cpan/authors/id/A/AM/AMBS/${name}.tar.gz";
sha256 = "1lmmfcjxvsvhn4f3v2lyylgr8dzcf5j7mnd1pkq3jc75dph724f5"; sha256 = "1lmmfcjxvsvhn4f3v2lyylgr8dzcf5j7mnd1pkq3jc75dph724f5";
}; };
perlPreHook = "export LD=$CC";
meta = { meta = {
description = "A tool to build C libraries"; description = "A tool to build C libraries";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];