mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
libressl: fix static build (#535370)
This commit is contained in:
commit
964949b656
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ let
|
|||
export PREVIOUS_${ldLibPathEnvName}=$${ldLibPathEnvName}
|
||||
export ${ldLibPathEnvName}="$${ldLibPathEnvName}:$(realpath tls/):$(realpath ssl/):$(realpath crypto/)"
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isElf ''
|
||||
+ lib.optionalString (stdenv.hostPlatform.isElf && buildShared) ''
|
||||
# Bail if any shared object has executable stack enabled. This can
|
||||
# happen when an object produced from an assmbly file in libcrypto is
|
||||
# missing a .note.GNU-stack section. An executable stack is dangerous
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue