Skip to content

Commit

Permalink
Merge pull request #45 from osalloum/bugfix/sts-build
Browse files Browse the repository at this point in the history
STS needs to be statically linked
  • Loading branch information
samansmink committed Jun 12, 2024
2 parents 9201a9b + f460a86 commit 7b5d5a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build_loadable_extension(${TARGET_NAME} ${PARAMETERS} ${EXTENSION_SOURCES})
# Weirdly we need to manually to this, otherwise linking against
# ${AWSSDK_LINK_LIBRARIES} fails for some reason
find_package(ZLIB REQUIRED)
find_package(AWSSDK REQUIRED COMPONENTS core)
find_package(AWSSDK REQUIRED COMPONENTS core sts)

# Build static lib
target_include_directories(${EXTENSION_NAME}
Expand Down
7 changes: 5 additions & 2 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"dependencies": [
"zlib",
"aws-sdk-cpp",
{
"name": "aws-sdk-cpp",
"features": [ "sts" ]
},
"openssl"
],
"builtin-baseline": "a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6",
"overrides": [{"name": "openssl", "version": "3.0.8"}]
}
}

0 comments on commit 7b5d5a5

Please sign in to comment.