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 -1
View File
@@ -1,7 +1,7 @@
name: libsasl name: libsasl
description: Simple Authentication and Security Layer library description: Simple Authentication and Security Layer library
version: 2.1.28 version: 2.1.28
revision: 1 revision: 2
url: https://www.cyrusimap.org/sasl/ url: https://www.cyrusimap.org/sasl/
license: BSD-3-Clause-Attribution license: BSD-3-Clause-Attribution
architecture: any architecture: any
@@ -12,6 +12,7 @@ depends:
- openssl - openssl
make_depends: make_depends:
- krb5 - krb5
- mariadb
- openldap - openldap
- openssl - openssl
- postgresql - postgresql
+2 -2
View File
@@ -18,6 +18,7 @@ prepare() {
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
export CPPFLAGS="-I/usr/include/mariadb"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--disable-krb4 \ --disable-krb4 \
@@ -47,8 +48,7 @@ build() {
--with-ldap \ --with-ldap \
--with-pam \ --with-pam \
--with-pgsql=/usr/lib \ --with-pgsql=/usr/lib \
--with-sqlite3=/usr/lib \ --with-sqlite3=/usr/lib
--without-mysql
# prevent excessive overlinking due to libtool # prevent excessive overlinking due to libtool
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool