Add -ltr flag to mysql in order to lower glibc requirement (#468)
This commit is contained in:
parent
175d49293c
commit
6d8975f9fc
|
@ -22,7 +22,8 @@ if AMXX.mysql_path:
|
||||||
binary.compiler.linkflags += [
|
binary.compiler.linkflags += [
|
||||||
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',
|
||||||
]
|
]
|
||||||
elif builder.target_platform is 'windows':
|
elif builder.target_platform is 'windows':
|
||||||
binary.compiler.linkflags += [
|
binary.compiler.linkflags += [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user