aws-c-cal: fix build on darwin
This commit is contained in:
parent
ce28a489a9
commit
4cf06c9f8c
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common, openssl }:
|
{ lib, stdenv, fetchFromGitHub, cmake, aws-c-common, openssl, Security }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "aws-c-cal";
|
pname = "aws-c-cal";
|
||||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ aws-c-common openssl ];
|
buildInputs = [ aws-c-common openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
|
|
@ -12578,7 +12578,9 @@ in
|
||||||
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreServices;
|
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
aws-c-cal = callPackage ../development/libraries/aws-c-cal { };
|
aws-c-cal = callPackage ../development/libraries/aws-c-cal {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
aws-c-common = callPackage ../development/libraries/aws-c-common { };
|
aws-c-common = callPackage ../development/libraries/aws-c-common { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue