From 0fcfead475b61da00f9dfde1d832a09f75b68a91 Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Tue, 22 Jan 2013 22:47:35 -0500 Subject: [PATCH] Fixed missing libprotobuf linking to core on linux, mac. --- core/AMBuilder | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/AMBuilder b/core/AMBuilder index bfa130f4..59a6dedd 100644 --- a/core/AMBuilder +++ b/core/AMBuilder @@ -117,6 +117,11 @@ for i in SM.sdkInfo: binary.AddSourceFiles(AMBuild.cache[sdk['sdk']], files) SM.PostSetupHL2Job(extension, binary, i) + + if i == 'csgo': + if AMBuild.target['platform'] in ['linux', 'darwin']: + binary.AddObjectFiles(['libprotobuf.a']) + SM.AutoVersion('core', binary) binary.SendToJob()