mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
Fix Windows build.
This commit is contained in:
parent
4df96b097d
commit
d61abc5a18
@ -38,11 +38,19 @@ if AMXX.mysql_path:
|
||||
'oldcompat_sql.cpp',
|
||||
'thread/BaseWorker.cpp',
|
||||
'thread/ThreadWorker.cpp',
|
||||
'thread/PosixThreads.cpp',
|
||||
'mysql/MysqlQuery.cpp',
|
||||
'mysql/MysqlResultSet.cpp',
|
||||
'mysql/MysqlDatabase.cpp',
|
||||
'mysql/MysqlDriver.cpp',
|
||||
]
|
||||
|
||||
if builder.target_platform == 'windows':
|
||||
binary.sources += [
|
||||
'thread/WinThreads.cpp',
|
||||
]
|
||||
else:
|
||||
binary.sources += [
|
||||
'thread/PosixThreads.cpp',
|
||||
]
|
||||
|
||||
AMXX.modules += [builder.Add(binary)]
|
||||
|
Loading…
Reference in New Issue
Block a user