Skip to content

Commit

Permalink
chore: ensure all dependencies are bundled
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq committed Dec 5, 2024
1 parent de1401d commit 9288594
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -803,17 +803,17 @@ endif()
set(PLUGINS)

# additional bundled dependencies of the client library
if(APPLE)
if(WIN32)
set(BUNDLED_LIBS
libssl libcrypto ssleay libeay
libaws-c-auth libaws-c-cal libaws-c-common libaws-c-compression libaws-c-event-stream libaws-c-http libaws-c-io
libaws-c-mqtt libaws-c-s3 libaws-c-sdkutils libaws-checksums libaws-cpp-sdk-core libaws-cpp-sdk-rds libaws-cpp-sdk-secretsmanager libaws-crt-cpp
libssl libcrypto ssleay libeay ${AWSSDK_LINK_LIBRARIES}
)
else(APPLE)
else(WIN32)
set(BUNDLED_LIBS
libssl libcrypto ssleay libeay ${AWSSDK_LINK_LIBRARIES}
libssl libcrypto ssleay libeay
libaws-c-auth libaws-c-cal libaws-c-common libaws-c-compression libaws-c-event-stream libaws-c-http libaws-c-io
libaws-c-mqtt libaws-c-s3 libaws-c-sdkutils libaws-checksums libaws-cpp-sdk-core libaws-cpp-sdk-rds libaws-cpp-sdk-secretsmanager libaws-cpp-sdk-sts libaws-crt-cpp
)
endif(APPLE)
endif(WIN32)

# List plugins and other libraries that can be found bundled with the server
# but which are not relevant on client-side and can be safely ignored.
Expand Down Expand Up @@ -922,6 +922,9 @@ macro(bundle_libs to_bundle ignored)

# Process collected libraries
set(libs ${${to_bundle}})
if(NOT MYSQLCLIENT_STATIC_LINKING)
set(libs ${libs} libmysqlclient)
endif()

foreach(lib IN LISTS _bundled _bundled1)

Expand Down

0 comments on commit 9288594

Please sign in to comment.