Fix mac build
This commit is contained in:
parent
6d8975f9fc
commit
ac3e2f48d1
|
@ -23,8 +23,11 @@ if AMXX.mysql_path:
|
||||||
os.path.join(AMXX.mysql_path, 'lib', 'libmysqlclient_r.a'),
|
os.path.join(AMXX.mysql_path, 'lib', 'libmysqlclient_r.a'),
|
||||||
'-lpthread',
|
'-lpthread',
|
||||||
'-lm',
|
'-lm',
|
||||||
'-lrt',
|
|
||||||
]
|
]
|
||||||
|
if builder.target_platform is 'linux':
|
||||||
|
binary.compiler.linkflags += [
|
||||||
|
'-lrt'
|
||||||
|
]
|
||||||
elif builder.target_platform is 'windows':
|
elif builder.target_platform is 'windows':
|
||||||
binary.compiler.linkflags += [
|
binary.compiler.linkflags += [
|
||||||
os.path.join(AMXX.mysql_path, 'lib', 'mysqlclient.lib'),
|
os.path.join(AMXX.mysql_path, 'lib', 'mysqlclient.lib'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user