Rebuild with mariadb
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user