From c8285c9ff7bac60871cd8d58ebe0208ae29389bd Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 30 Nov 2017 02:57:30 +0300 Subject: Fix mysql/buildfile to pass .def file for shared library linking only --- mysql/buildfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mysql/buildfile') diff --git a/mysql/buildfile b/mysql/buildfile index 3983e79..1878b69 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -228,7 +228,9 @@ if ($tclass != 'windows') else { cc.libs += advapi32.lib - cc.loptions += "/DEF:$src_base/libmysql/libmysql_exports_win32.def" + + libs{mysqlclient}: \ + cc.libs =+ "/DEF:$src_base/libmysql/libmysql_exports_win32.def" } # The library clients must include the API header as . -- cgit v1.1