Browse files

use threadsafe mysqlclient

  • Loading branch information...
1 parent 479396b commit 69d9d34734d5280073b242012fdac648b1c3cfc2 @ssinghi ssinghi committed with Aug 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 wscript
View
4 wscript
@@ -13,8 +13,8 @@ def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
# http://gist.github.com/349794
- if not conf.check_cfg(package="mysqlclient", args="--cflags --libs", uselib_store="MYSQLCLIENT"):
- if not conf.check_cxx(lib="mysqlclient", linkflags="-L/usr/lib/mysql", uselib_store="MYSQLCLIENT"):
+ if not conf.check_cfg(package="mysqlclient_r", args="--cflags --libs", uselib_store="MYSQLCLIENT"):
+ if not conf.check_cxx(lib="mysqlclient_r", linkflags="-L/usr/lib/mysql", uselib_store="MYSQLCLIENT"):
conf.fatal("Missing libmysqlclient library")
if conf.check_cxx(header_name='mysql/mysql.h'):
conf.env.MYSQL_H_PATH_FLAG = "-I/usr/include/mysql"

0 comments on commit 69d9d34

Please sign in to comment.