[CONC-55] libmariadb/CMakeFiles.txt generates broken libmysqlclient.a symlink Created: 2013-10-04 Updated: 2013-10-04 Resolved: 2013-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Ramesh Dharan (Inactive) | Assignee: | Georg Richter |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux |
||
| Description |
|
When WITH_MYSQLCOMPAT is defined, libmariadb/CMakeLists.txt uses a custom command to generate symlinks with the standard MySQL client filenames to point at the MariaDB client library binaries. The command to create the symlink libmysqlclient.a has a bug, however. The first argument to create_symlink should be libmariadbclient${CMAKE_STATIC_LIBRARY_SUFFIX} rather than libmariadb${CMAKE_STATIC_LIBRARY_SUFFIX} since the static archive is libmariadbclient.a. As things stand we end up with libmysqlclient.a pointing to the non-existent libmariadb.a. |
| Comments |
| Comment by Ramesh Dharan (Inactive) [ 2013-10-04 ] |
|
Actually it looks like this might already be fixed in the trunk (I was looking at the code from the 1.3 branch). If so I apologize for the stale bug report. |
| Comment by Georg Richter [ 2013-10-04 ] |
|
Can't repeat: georg@linux-eozo:~/work/mariadb/client/mariadb-native-client/libmariadb> ls -l libmaria*.so* libmaria*.a libmysql*; bzr log -l1 | grep revno |