mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-15 19:31:54 +08:00
Fallback to non-thread-safe libraries if the thread-safe ones
are unavailable.
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user