Skip to content

Commit

Permalink
Support building against Percona Server builds of MySQL client librar…
Browse files Browse the repository at this point in the history
…y `libperconaserverclient` (#718)
  • Loading branch information
nattofriends authored Aug 7, 2024
1 parent 9fd238b commit 423e45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
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}"
Expand Down

0 comments on commit 423e45e

Please sign in to comment.