Author: wyoung
Date: Wed Sep 26 20:48:21 2007
New Revision: 1758

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1758&view=rev
Log:
Explicitly linking to wsock32.lib in Visual Studio case.  I think this
used to work without it even though the MySQL C API uses Winsock because
the C API library informed the linker of the dependency.  Now with the
new connection type stuff, MySQL++ itself calls Winsock, so we need an
explicit link.

Modified:
    trunk/mysql++.bkl

Modified: trunk/mysql++.bkl
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.bkl?rev=1758&r1=1757&r2=1758&view=diff
==============================================================================
--- trunk/mysql++.bkl (original)
+++ trunk/mysql++.bkl Wed Sep 26 20:48:21 2007
@@ -79,6 +79,7 @@
                                <include>"C:\Program Files\MySQL\MySQL Server 
5.0\include"</include>
                                <lib-path>C:\Program Files\MySQL\MySQL Server 
5.0\lib\opt</lib-path>
                                <sys-lib>libmysql</sys-lib>
+                               <sys-lib>wsock32</sys-lib>
                        </if>
 
                        <if cond="FORMAT=='mingw'">


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to