probes_mysql.so gets introduced twice in the build command line for dialog.so
and needs to be trimmed to once. This is because when it is linked against mysqlclient, the dependencies of mysqlclient also get linked in TARGET_LINK_LIBRARIES which causes duplicate and hence the link failure.
In MariaDB code, they build dialog plugin separately and it is
a bit different (and built differently: there is no COMPONENT
SharedLibraries in plugin.cmake of PS) from dialog plugin in PS.
The previous patch doesn't work because it breaks dialog.so
The problem is similar to described here:
http:// www.cmake. org/pipermail/ cmake/2011- February/ 042504. html /lists. gnu.org/ archive/ html/qemu- devel/2011- 08/msg02987. html
https:/
probes_mysql.so gets introduced twice in the build command line for dialog.so LINK_LIBRARIES which causes duplicate and hence the link failure.
and needs to be trimmed to once. This is because when it is linked against mysqlclient, the dependencies of mysqlclient also get linked in TARGET_
In MariaDB code, they build dialog plugin separately and it is
a bit different (and built differently: there is no COMPONENT
SharedLibraries in plugin.cmake of PS) from dialog plugin in PS.