[CONC-305] Use /usr/include/mariadb instead of /usr/include/mysql Created: 2018-01-11 Updated: 2018-01-11 Resolved: 2018-01-11 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Otto Kekäläinen | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In Debian official mariadb-connector-c packaging the libmariadb-dev files are installed in path /usr/include/mariadb/ However, our current 10.3 server branch CMake puts the files in /usr/include/mysql. I cannot figure out how to rename this. Please help. Once the rename is done, I will symlink from /usr/include/mysql to to /mariadb for backwards compatibility, just like done in the official Debian libmariadb-dev package. This issue is related to |
| Comments |
| Comment by Sergei Golubchik [ 2018-01-11 ] |
|
This is not C/C issue, Connector/C (when built as a sub-project) uses the INSTALL_INCLUDEDIR path that the server gives to it. otto you want to change INSTALL_INCLUDEDIR_DEB in cmake/install_layout.cmake of the server repository. |
| Comment by Otto Kekäläinen [ 2018-01-11 ] |
|
Implemented in https://github.com/ottok/mariadb/commit/6d26b0e72f7a579302cf251207128dc33330213c |