mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
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'),
|
||||
'-lpthread',
|
||||
'-lm',
|
||||
'-lrt',
|
||||
]
|
||||
if builder.target_platform is 'linux':
|
||||
binary.compiler.linkflags += [
|
||||
'-lrt'
|
||||
]
|
||||
elif builder.target_platform is 'windows':
|
||||
binary.compiler.linkflags += [
|
||||
os.path.join(AMXX.mysql_path, 'lib', 'mysqlclient.lib'),
|
||||
|
Loading…
Reference in New Issue
Block a user