Zlib: Use the generated static library with MySQL module
This commit is contained in:
parent
9bbeb1f578
commit
85b7c26bb0
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user