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:
@@ -26,12 +26,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
curl openssl s2n-tls zlib
|
||||
aws-c-cal aws-c-common aws-c-event-stream aws-c-io aws-checksums
|
||||
aws-c-common aws-c-event-stream aws-checksums
|
||||
] ++ lib.optionals (stdenv.isDarwin &&
|
||||
((builtins.elem "text-to-speech" apis) ||
|
||||
(builtins.elem "*" apis)))
|
||||
[ CoreAudio AudioToolbox ];
|
||||
|
||||
# propagation is needed for Security.framework to be available when linking
|
||||
propagatedBuildInputs = [ aws-c-cal aws-c-io ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_DEPS=OFF"
|
||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
||||
|
||||
Reference in New Issue
Block a user