botan: enable building statically
This commit is contained in:
parent
170e333644
commit
561eb736d0
@ -9,6 +9,7 @@
|
||||
, knownVulnerabilities ? [ ]
|
||||
, CoreServices ? null
|
||||
, Security ? null
|
||||
, static ? stdenv.hostPlatform.isStatic # generates static libraries *only*
|
||||
, ...
|
||||
}:
|
||||
|
||||
@ -43,6 +44,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--cc=clang"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
"--cpu=aarch64"
|
||||
] ++ lib.optionals static [
|
||||
"--enable-static-library"
|
||||
"--disable-shared-library"
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user