Add -ltr flag to mysql in order to lower glibc requirement (#468)

This commit is contained in:
Vincent Herbet
2017-11-26 20:34:40 +01:00
committed by GitHub
parent 175d49293c
commit 6d8975f9fc

View File

@ -22,7 +22,8 @@ if AMXX.mysql_path:
binary.compiler.linkflags += [
os.path.join(AMXX.mysql_path, 'lib', 'libmysqlclient_r.a'),
'-lpthread',
'-lm'
'-lm',
'-lrt',
]
elif builder.target_platform is 'windows':
binary.compiler.linkflags += [