mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #207805 from markpash/mbedtls/fix-static
mbedtls: fix static builds
This commit is contained in:
commit
70c476bbf7
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DUSE_SHARED_MBEDTLS_LIBRARY=on"
|
||||
"-DUSE_SHARED_MBEDTLS_LIBRARY=${if stdenv.hostPlatform.isStatic then "off" else "on"}"
|
||||
|
||||
# Avoid a dependency on jsonschema and jinja2 by not generating source code
|
||||
# using python. In releases, these generated files are already present in
|
||||
|
|
Loading…
Reference in a new issue