Rebuild with mariadb

This commit is contained in:
2025-10-01 11:12:32 +03:00
parent 3d596016e4
commit bc5e55c275
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -18,6 +18,7 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
export CPPFLAGS="-I/usr/include/mariadb"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-krb4 \
@@ -47,8 +48,7 @@ build() {
--with-ldap \
--with-pam \
--with-pgsql=/usr/lib \
--with-sqlite3=/usr/lib \
--without-mysql
--with-sqlite3=/usr/lib
# prevent excessive overlinking due to libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool