1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-19 08:52:34 +01:00

Fix Linux build.

This commit is contained in:
Scott Ehlert 2014-03-03 04:40:58 -06:00
parent 649c9fa3c7
commit 3dc4549af5

View File

@ -319,7 +319,7 @@ class MMSConfig(object):
dynamic_libs = []
if builder.target_platform == 'linux':
compiler.linkflags[0:0] = ['-lm']
if sdk.name in ['css', 'hl2dm', 'dods', 'tf2', '2013', 'l4d2']:
if sdk.name in ['css', 'hl2dm', 'dods', 'tf2', '2013', 'l4d2', 'dota']:
dynamic_libs = ['libtier0_srv.so', 'libvstdlib_srv.so']
elif sdk.name in ['l4d', 'nd', 'blade', 'insurgency', 'csgo']:
dynamic_libs = ['libtier0.so', 'libvstdlib.so']