aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql/buildfile4
1 files changed, 3 insertions, 1 deletions
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 <mysql/mysql.h>.