Fix Windows build.

This commit is contained in:
David Anderson 2014-02-13 00:13:43 -08:00
parent 4df96b097d
commit d61abc5a18

View File

@ -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)]