From 741a1d2c4d9c92e1b85e4b993345dec90146b34d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 30 Nov 2017 02:22:40 +0300 Subject: Fix mysql/buildfile to pass .def file for shared library linking only --- mysql/buildfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysql') diff --git a/mysql/buildfile b/mysql/buildfile index 52163c2..d41bba8 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -233,13 +233,13 @@ else if ($tsys == 'mingw32') { - c.loptions += $def c.libs += $regex.apply($libs, '(.+)', '-l\1') + libs{mariadb}: c.libs =+ $def } else { - c.loptions += "/DEF:$def" c.libs += $regex.apply($libs, '(.+)', '\1.lib') + libs{mariadb}: c.libs =+ "/DEF:$def" } } -- cgit v1.1