perlPackages.PerlIOLayers: add perlPreHook for $LD override
Fix a potential issue on where a compiler-only flag like `-mmacosx-version-min=10.12` is passed to plain `ld` instead.
This commit is contained in:
parent
2c0e6a0e69
commit
496963f428
@ -16642,6 +16642,7 @@ let
|
||||
url = "mirror://cpan/authors/id/L/LE/LEONT/PerlIO-Layers-0.012.tar.gz";
|
||||
sha256 = "1psaq3kwlk7g9rxvgsacfjk2mh6cscqf4xl7ggfkzfrnz91aabal";
|
||||
};
|
||||
perlPreHook = "export LD=$CC";
|
||||
meta = {
|
||||
description = "Querying your filehandle's capabilities";
|
||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||
|
Loading…
Reference in New Issue
Block a user