To: | bind9-bugs@isc.org |
Subject: | [PATCH] Mysql library flags |
Date: | Fri, 14 Jul 2017 15:58:57 +0200 |
From: | "Petr Menšík" <pemensik@redhat.com> |
Hello,
there is upcoming change in Fedora MariaDB support. It should drop
mandatory support for libmysqlclient library. It is recommended to
manage includes and flags for MariaDB by mysql_config tool. It provides
required parameters used for linking client applications and include
paths. Including all dependent libraries that are linked against it.
However SDB support in Bind is not prepared for different library name.
Recent versions of MariaDB can provide only libmariadb.so library. Mysql
community version as well as MariaDB provide mysql_config. My first
patch uses it if found on system, falling back to the previous detection
if not available.
Second patch uses such configured parameters also for DLZ modules. I
have updated only MySQL, but I think similar approach would be useful
also for other backends. I think configured Makefiles would be useful
for all modules. CFLAGS are ignored in modules and LDFLAGS are not even
used. But I understand they are not actively mantained.
Can it be included in new versions? I think it only improves
compatibility, not only for us.
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik@redhat.com PGP: 65C6C973
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.