From 2720c2f8189c22233ef854cdcc4074ded18d1600 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 18 Jan 2018 11:32:43 +0100 Subject: [PATCH] make MySQL client work with MariaDB; prefer newer versions over older --- src/wrappers/mysql.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wrappers/mysql.nim b/src/wrappers/mysql.nim index 6dbed23b32..4f62a52a7f 100644 --- a/src/wrappers/mysql.nim +++ b/src/wrappers/mysql.nim @@ -13,10 +13,10 @@ when defined(Unix): when defined(macosx): const - lib = "libmysqlclient.(15|16|17|18|19|20).dylib" + lib = "libmysqlclient.(|20|19|18|17|16|15).dylib" else: const - lib = "libmysqlclient.so.(15|16|17|18|19|20)" + lib = "libmysqlclient.so.(|20|19|18|17|16|15)" when defined(Windows): const lib = "libmysql.dll"