From b8655147f47cfa6acb5932546f47663a1d40dc56 Mon Sep 17 00:00:00 2001 From: Cosmin Apreuetsei Date: Wed, 19 Mar 2014 16:58:28 +0200 Subject: [PATCH] bugfix: .so name on linux --- mysql.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql.lua b/mysql.lua index c6cba9d..e828218 100644 --- a/mysql.lua +++ b/mysql.lua @@ -2,7 +2,7 @@ local ffi = require'ffi' local bit = require'bit' require'mysql_h' -local myok, myC = pcall(ffi.load, ffi.abi'win' and 'libmysql' or 'mysql') +local myok, myC = pcall(ffi.load, ffi.abi'win' and 'libmysql' or 'mysqlclient') local maok, maC = pcall(ffi.load, ffi.abi'win' and 'libmariadb' or 'mariadb') local C = maok and myC or maC local M = {C = C}