mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
top-level/static.nix: Don’t add -static LDFLAGS in darwin
We can’t do fully static here, like "static" flag in libev does. I’m not 100% sure if this is necessary for Linux (makeStaticBinaries should set -static flag automatically), but leaving as is to avoid breaking anything.
This commit is contained in:
parent
258bc1beb0
commit
924c4ebc08
@ -281,8 +281,8 @@ in {
|
|||||||
python39 = super.python39.override { static = true; };
|
python39 = super.python39.override { static = true; };
|
||||||
python3Minimal = super.python3Minimal.override { static = true; };
|
python3Minimal = super.python3Minimal.override { static = true; };
|
||||||
|
|
||||||
|
# Note: -static doesn’t work on darwin
|
||||||
libev = super.libev.override { static = true; };
|
libev = super.libev.override { static = !super.stdenv.hostPlatform.isDarwin; };
|
||||||
|
|
||||||
libexecinfo = super.libexecinfo.override { enableShared = false; };
|
libexecinfo = super.libexecinfo.override { enableShared = false; };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user