mbedtls: fix static builds
Signed-off-by: Mark Pashmfouroush <mark@markpash.me>
This commit is contained in:
parent
710d6ce361
commit
526ccdedef
@ -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 New Issue
Block a user