• Rafal Somla's avatar
    Bug#12612143 - LIBMYSQL 5.5.13 BREAKS USER APPLICATION BUILD · 09b2be34
    Rafal Somla authored
    Since the Windows authentication support has been added to libmysql, this library depends on the system Secur32 library. Consequently, clients which are linked against libmysql should be also linked with Secur32 (in addition to ws2_32).
    
    In MS VC++ it is possible to embed information about required libraries into object file using #pragma directive. This patch adds such directive when the Windows authentiaction support is compiled. This is similar to analogous #pragma for ws2_32 library in my_init.c
    09b2be34
plugin_client.cc 1.85 KB