[MDEV-11008] Connector/C integration does not respect INSTALL_LIBDIR or INSTALL_DOCDIR Created: 2016-10-10 Updated: 2016-10-12 Resolved: 2016-10-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Packaging |
| Affects Version/s: | 10.2.2, 10.2 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Brian Evans | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Starting with 10.2.2, I am unable to specify the install location of libmariadb.so and its documentation files. Currently, it forcefully installs to /usr/lib/mariadb/libmariadb.so and also does poor detection for the build system to be x86_64 to change that to be /usr/lib64/mariadb/libmariadb.so. The first part would require me to install a ldconfig entry for apps and libraries to find the libmariadb.so at runtime. The CPU detection breaks cross-compiling and multi-arch options. Please fix this regression such that -DINSTALL_LIBDIR=<value> would install to ${CMAKE_INSTALL_PREFIX}/${INSTALL_LIBDIR}/libmariadb.so |
| Comments |
| Comment by Vladislav Vaintroub [ 2016-10-12 ] |
|
Fixed in C/C |