From 3905d9baf6fe46cd390f4c5823bbbc1e88348f06 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 9 Feb 2020 04:20:00 -0500 Subject: [PATCH 1/2] aws-checksums: build shared libraries --- pkgs/development/libraries/aws-checksums/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/aws-checksums/default.nix b/pkgs/development/libraries/aws-checksums/default.nix index 99cefde8937f..886383bf9610 100644 --- a/pkgs/development/libraries/aws-checksums/default.nix +++ b/pkgs/development/libraries/aws-checksums/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + cmakeFlags = [ "-DBUILD_SHARED_LIBS:BOOL=ON" ]; + meta = with lib; { description = "HW accelerated CRC32c and CRC32"; homepage = https://github.com/awslabs/aws-checksums; From 7addbecfe5d93ffdf6188078f6a0797a8d2a295e Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 9 Feb 2020 04:21:00 -0500 Subject: [PATCH 2/2] aws-c-event-stream: build shared libraries --- pkgs/development/libraries/aws-c-event-stream/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/aws-c-event-stream/default.nix b/pkgs/development/libraries/aws-c-event-stream/default.nix index ccc4abb85fdb..cc26c29c9d1d 100644 --- a/pkgs/development/libraries/aws-c-event-stream/default.nix +++ b/pkgs/development/libraries/aws-c-event-stream/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { buildInputs = [ aws-c-common aws-checksums ] ++ lib.optional stdenv.hostPlatform.isMusl libexecinfo; cmakeFlags = [ + "-DBUILD_SHARED_LIBS:BOOL=ON" "-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake" ];