mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-03-27 14:22:12 +01:00
Link mathlib on BMS now (for vec3_origin required by tier1 ConVar).
This commit is contained in:
parent
e2c0348fc3
commit
20c72b51e6
@ -326,6 +326,8 @@ class MMSConfig(object):
|
||||
|
||||
if sdk.name in ['blade', 'insurgency', 'doi', 'csgo', 'dota']:
|
||||
compiler.postlink += [compiler.Dep(os.path.join(lib_folder, 'interfaces_i486.a'))]
|
||||
if sdk.name == 'bms':
|
||||
compiler.postlink += [compiler.Dep(os.path.join(lib_folder, 'mathlib.a'))]
|
||||
|
||||
binary = self.LibraryBuilder(compiler, name)
|
||||
|
||||
@ -345,6 +347,8 @@ class MMSConfig(object):
|
||||
libs = ['tier0', 'tier1', 'vstdlib']
|
||||
if sdk.name in ['swarm', 'blade', 'insurgency', 'doi', 'csgo', 'dota']:
|
||||
libs.append('interfaces')
|
||||
if sdk.name == 'bms':
|
||||
libs.append('mathlib')
|
||||
for lib in libs:
|
||||
lib_path = os.path.join(sdk.path, 'lib', 'public', lib) + '.lib'
|
||||
binary.compiler.linkflags.append(binary.Dep(lib_path))
|
||||
|
Loading…
x
Reference in New Issue
Block a user