aws-sdk-cpp: propagate Security framework
We need to propagate the Security framework to avoid getting ld: file not found: /System/Library/Frameworks/Security.framework/Versions/A/Security for architecture x86_64 on linking aws-sdk-cpp libraries.
This commit is contained in:
@@ -13,7 +13,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ aws-c-common openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = [ aws-c-common openssl ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
|
||||
Reference in New Issue
Block a user