Skip to content

Commit

Permalink
Merge pull request #4 from felipecruz/master
Browse files Browse the repository at this point in the history
macosx libmysql .dylib added
  • Loading branch information
alex committed Jul 6, 2011
2 parents fe2aab1 + 029d676 commit b40450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MySQLdb/libmysql.py
Expand Up @@ -44,7 +44,7 @@ class MYSQL_FIELD(ctypes.Structure):

c = None
# Prefer the higher version, obscure.
for lib in ["libmysqlclient.so.16", "mysqlclient"]:
for lib in ["libmysqlclient.so.16", "mysqlclient", "libmysqlclient.18.dylib"]:
try:
c = ctypes.CDLL(lib)
except OSError:
Expand Down

0 comments on commit b40450c

Please sign in to comment.