MT#55283 support native libmariadb

closes #2036

Change-Id: I24066ceb5abd2a289002243615a2875febe4fd82
(cherry picked from commit 999547676a)
mr14.0
Richard Fuchs 2 months ago
parent fa396eb770
commit 745a004d72

@ -92,7 +92,6 @@ gen-pkgconf-flags OPENSSL openssl
gen-pkgconf-flags OPUS opus
gen-pkgconf-flags SPANDSP spandsp
gen-pkgconf-flags LIBJWT libjwt
gen-pkgconf-flags MYSQL mysqlclient
gen-pkgconf-flags LIBHIREDIS hiredis
gen-pkgconf-flags LIBPCAP libpcap
@ -112,3 +111,10 @@ if pkg-config --atleast-version=2.3 liburing; then
gen-pkgconf-flags LIBURING liburing
echo "CFLAGS_LIBURING += -DHAVE_LIBURING"
fi
# alternative MySQL/MariaDB
if pkg-config --exists libmariadb; then
gen-pkgconf-flags MYSQL libmariadb
else
gen-pkgconf-flags MYSQL mysqlclient
fi

Loading…
Cancel
Save