aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-11-30 02:22:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-11-30 02:58:32 +0300
commit741a1d2c4d9c92e1b85e4b993345dec90146b34d (patch)
tree77363854fb2615b2203ebe61a200f7dcc6539ebd
parentb7b7fcb22d9b65534152f63d21176f13fb8d8595 (diff)
Fix mysql/buildfile to pass .def file for shared library linking only
-rw-r--r--mysql/buildfile4
1 files changed, 2 insertions, 2 deletions
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"
}
}