Unverified Commit f9e130a3 authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

botan: fix static build (#405270)

parents 393cb1e3 c5169e93
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -75,10 +75,12 @@ let
        ];

      buildTargets =
        [ "cli" ]
        ++ lib.optionals finalAttrs.finalPackage.doCheck [ "tests" ]
        lib.optionals finalAttrs.finalPackage.doCheck [ "tests" ]
        ++ lib.optionals static [ "static" ]
        ++ lib.optionals (!static) [ "shared" ];
        ++ lib.optionals (!static) [
          "cli"
          "shared"
        ];

      botanConfigureFlags =
        [
@@ -131,7 +133,7 @@ let
        ln -s botan-*.pc botan.pc || true
      '';

      doCheck = true;
      doCheck = !static;

      meta = with lib; {
        description = "Cryptographic algorithms library";