Fallback to non-thread-safe libraries if the thread-safe ones

are unavailable.
This commit is contained in:
adustman
2006-04-09 02:56:39 +00:00
parent 8cd67c1e36
commit d0fb145489

View File

@ -53,6 +53,9 @@ if enabled('embedded'):
elif enabled('threadsafe'):
libs = mysql_config("libs_r")
client = "mysqlclient_r"
if not libs:
libs = mysql_config("libs")
client = "mysqlclient"
else:
libs = mysql_config("libs")
client = "mysqlclient"