Fixed missing libprotobuf linking to core on linux, mac.

This commit is contained in:
Asher Baker 2013-01-22 22:47:35 -05:00
parent ab9c1217e4
commit 0fcfead475

View File

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