File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ prepare() {\
5959 sed -i cmake/ssl.cmake -e "/FIND_PACKAGE(OpenSSL)/i \\ SET(OPENSSL_USE_STATIC_LIBS TRUE)"\
6060 sed -i client/CMakeLists.txt -e "/^MYSQL_ADD_EXECUTABLE(mariadb /,/)$/ {s|)$| COMPONENT ClientCompiled)|}"\
6161 sed -i client/CMakeLists.txt -e "s|^MYSQL_ADD_EXECUTABLE(mariadb-dump [^)]\\ +|& COMPONENT ClientCompiled|"\
62+ sed -i libmariadb/plugins/auth/CMakeLists.txt -e "s|DEFAULT DYNAMIC|DEFAULT STATIC|g"\
6263}'
6364 abuild -F fetch verify unpack prepare mkusers build package
6465EOT
@@ -82,6 +83,8 @@ COPY --from=build /usr/local/bin/mariadb /usr/local/bin/mariadb-dump /
8283ENTRYPOINT ["/mariadb" ]
8384
8485# ######### CHANGES ##########
86+ # 20250408:
87+ # * Statically link auth plugins like caching_sha2_password
8588# 20250330:
8689# * Enable static build via LDFLAGS and OPENSSL_USE_STATIC_LIBS
8790# * Disable server and plugin build via cmake options
You can’t perform that action at this time.
0 commit comments