Fix build.

This commit is contained in:
David Anderson 2014-10-21 21:51:15 -07:00
parent 75335dbef3
commit 76d26044f6

View File

@ -18,8 +18,9 @@ if SM.mysql_root:
'-lz',
'-lpthread',
'-lm',
'-lrt'
]
if builder.target_platform == 'linux':
binary.compiler.postlink += ['-lrt']
elif builder.target_platform == 'windows':
binary.compiler.postlink += [
os.path.join(SM.mysql_root, 'lib', 'opt', 'mysqlclient.lib'),