Rewrite DBManager to use the new synchronization primitives (bug 5870, r=fyren).

This commit is contained in:
David Anderson
2013-08-21 00:01:28 -07:00
parent b972ea4781
commit 754a6e1177
3 changed files with 87 additions and 92 deletions
+4
View File
@@ -28,6 +28,10 @@ for i in SM.sdkInfo:
binary = Cpp.LibraryBuilder(name, AMBuild, extension, compiler)
SM.PreSetupHL2Job(extension, binary, i)
if AMBuild.target['platform'] == 'linux':
compiler['POSTLINKFLAGS'].append('-lpthread')
compiler['POSTLINKFLAGS'].append('-lrt')
if i in ['csgo', 'dota']:
if AMBuild.target['platform'] == 'linux':
link = os.path.join(os.path.join(AMBuild.outputFolder, extension.workFolder), 'libprotobuf.a')