mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
b73763e0f9
http://lists.mysql.com/commits/57725 Vladislav Vaintroub 2008-11-03 Cleanup CMakeLists.txt(s) - remove winsock2 (ws2_32) from TARGET_LINK_LIBRARIES. Every exe or dll linked with mysys needs ws2_32, because mysys uses winsock function WSAStartup in my_init(). However, there is no need to explicitely add ws2_32 to the list of TARGET_LINK_LIBRARIES multiple times. Visual Studio comes with a handy pragma that tells linker to add library. So patch replaces bunch of ws2_32 in CMakeLists with single pragma comment(lib,"ws2_32") in my_init.c Additionally, reference to non-existing "debug" library has been removed from TARGET_LINK_LIBRARIES. The correct name of the library is "dbug". |
||
---|---|---|
.. | ||
.cvsignore | ||
CMakeLists.txt | ||
comp_sql.c | ||
dheadgen.pl | ||
fill_help_tables.sql | ||
make_binary_distribution.sh | ||
make_sharedlib_distribution.sh | ||
make_win_bin_dist | ||
Makefile.am | ||
msql2mysql.sh | ||
mysql_config.pl.in | ||
mysql_config.sh | ||
mysql_convert_table_format.sh | ||
mysql_find_rows.sh | ||
mysql_fix_extensions.sh | ||
mysql_fix_privilege_tables.sh | ||
mysql_install_db.pl.in | ||
mysql_install_db.sh | ||
mysql_secure_installation.pl.in | ||
mysql_secure_installation.sh | ||
mysql_setpermission.sh | ||
mysql_system_tables.sql | ||
mysql_system_tables_data.sql | ||
mysql_system_tables_fix.sql | ||
mysql_test_data_timezone.sql | ||
mysql_zap.sh | ||
mysqlaccess.conf | ||
mysqlaccess.sh | ||
mysqlbug.sh | ||
mysqld_multi.sh | ||
mysqld_safe.sh | ||
mysqldumpslow.sh | ||
mysqlhotcopy.sh |