Zlib: Use the generated static library with MySQL module

This commit is contained in:
Arkshine 2015-02-02 21:51:06 +01:00
parent 9bbeb1f578
commit 85b7c26bb0

View File

@ -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',