From 85b7c26bb073816b579c2a29d7ee8dc52e4db898 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Mon, 2 Feb 2015 21:51:06 +0100 Subject: [PATCH] Zlib: Use the generated static library with MySQL module --- dlls/mysqlx/AMBuilder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mysqlx/AMBuilder b/dlls/mysqlx/AMBuilder index 0a6d93b0..b9740b98 100644 --- a/dlls/mysqlx/AMBuilder +++ b/dlls/mysqlx/AMBuilder @@ -19,17 +19,17 @@ if AMXX.mysql_path: binary.compiler.defines += ['stricmp=strcasecmp'] binary.compiler.linkflags += [ os.path.join(AMXX.mysql_path, 'lib', 'libmysqlclient_r.a'), - '-lz', '-lpthread', '-lm' ] elif builder.target_platform is 'windows': binary.compiler.linkflags += [ os.path.join(AMXX.mysql_path, 'lib', 'opt', 'mysqlclient.lib'), - os.path.join(AMXX.mysql_path, 'lib', 'opt', 'zlib.lib'), 'ws2_32.lib' ] + binary.compiler.linkflags += [AMXX.zlib.binary] + binary.sources = [ 'basic_sql.cpp', 'handles.cpp',