mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-14 18:12:35 +08:00
Support building against Percona Server builds of MySQL client library libperconaserverclient
(#718)
This commit is contained in:
2
setup.py
2
setup.py
@ -15,7 +15,7 @@ with open("src/MySQLdb/release.py", encoding="utf-8") as f:
|
||||
def find_package_name():
|
||||
"""Get available pkg-config package name"""
|
||||
# Ubuntu uses mariadb.pc, but CentOS uses libmariadb.pc
|
||||
packages = ["mysqlclient", "mariadb", "libmariadb"]
|
||||
packages = ["mysqlclient", "mariadb", "libmariadb", "perconaserverclient"]
|
||||
for pkg in packages:
|
||||
try:
|
||||
cmd = f"pkg-config --exists {pkg}"
|
||||
|
Reference in New Issue
Block a user