Fix Windows build.
This commit is contained in:
parent
4df96b097d
commit
d61abc5a18
@ -38,11 +38,19 @@ if AMXX.mysql_path:
|
|||||||
'oldcompat_sql.cpp',
|
'oldcompat_sql.cpp',
|
||||||
'thread/BaseWorker.cpp',
|
'thread/BaseWorker.cpp',
|
||||||
'thread/ThreadWorker.cpp',
|
'thread/ThreadWorker.cpp',
|
||||||
'thread/PosixThreads.cpp',
|
|
||||||
'mysql/MysqlQuery.cpp',
|
'mysql/MysqlQuery.cpp',
|
||||||
'mysql/MysqlResultSet.cpp',
|
'mysql/MysqlResultSet.cpp',
|
||||||
'mysql/MysqlDatabase.cpp',
|
'mysql/MysqlDatabase.cpp',
|
||||||
'mysql/MysqlDriver.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)]
|
AMXX.modules += [builder.Add(binary)]
|
||||||
|
Loading…
Reference in New Issue
Block a user