Hi, Vladislav! May be you'd rather rename symbols with #define, just as redhat does? On Feb 03, Vladislav Vaintroub wrote:
At file:///H:/bzr/5.5/
------------------------------------------------------------ revno: 3657 revision-id: wlad@montyprogram.com-20130203164516-ex2ftmyca5b507g3 parent: elenst@ubuntu11.home-20130202225357-za9bglcf2ngv36xj committer: Vladislav Vaintroub <wlad@montyprogram.com> branch nick: 5.5 timestamp: Sun 2013-02-03 17:45:16 +0100 message: MDEV-4127 : Export additional symbols when building RPM, to enable both recompiling mysqli or odbc from sources in addition to drop-in replacement functionality.
The case in question is compiling mysqli from sources, that needs client_errors via ER() macro.
Previously, we exported it as mysql_client_errors (compatibly to Fedora's style symbol renaming, see MDEV-3842). However, if MariaDB header files are used when compiling mysqli, client_errors needs to be exported with its original name.
Regards, Sergei