Browse Source

MT#55283 support native libmariadb

closes #2036

Change-Id: I24066ceb5abd2a289002243615a2875febe4fd82
Richard Fuchs 3 weeks ago
parent
commit
46c6a56bcd
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      utils/gen-common-flags

+ 7
- 1
utils/gen-common-flags View File

@ -90,7 +90,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
@ -110,3 +109,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