mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 02:18:30 +00:00
Link mathlib on BMS now (for vec3_origin required by tier1 ConVar).
This is also to trigger an MM:S build for hl2sdk changes in multiple branches.
This commit is contained in:
parent
b2e51c93f8
commit
3eb261a24d
@ -444,6 +444,9 @@ class MMSConfig(object):
|
||||
else:
|
||||
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, arch)
|
||||
|
||||
dynamic_libs = []
|
||||
@ -464,6 +467,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:
|
||||
if arch == 'x86':
|
||||
lib_path = os.path.join(sdk.path, 'lib', 'public', lib) + '.lib'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user