Fix build.
This commit is contained in:
parent
75335dbef3
commit
76d26044f6
@ -18,8 +18,9 @@ if SM.mysql_root:
|
|||||||
'-lz',
|
'-lz',
|
||||||
'-lpthread',
|
'-lpthread',
|
||||||
'-lm',
|
'-lm',
|
||||||
'-lrt'
|
|
||||||
]
|
]
|
||||||
|
if builder.target_platform == 'linux':
|
||||||
|
binary.compiler.postlink += ['-lrt']
|
||||||
elif builder.target_platform == 'windows':
|
elif builder.target_platform == 'windows':
|
||||||
binary.compiler.postlink += [
|
binary.compiler.postlink += [
|
||||||
os.path.join(SM.mysql_root, 'lib', 'opt', 'mysqlclient.lib'),
|
os.path.join(SM.mysql_root, 'lib', 'opt', 'mysqlclient.lib'),
|
||||||
|
Loading…
Reference in New Issue
Block a user