Update AMBuild for Nuclear Dawn.
This commit is contained in:
parent
48b180ea92
commit
6c0a1b3dcb
@ -272,7 +272,7 @@ class SM:
|
||||
else:
|
||||
staticLibs = os.path.join(sdkPath, 'lib', 'linux')
|
||||
workFolder = os.path.join(AMBuild.outputFolder, job.workFolder)
|
||||
if sdk in ['tf2', 'css', 'l4d2', 'hl2dm', 'dods']:
|
||||
if sdk in ['tf2', 'css', 'l4d2', 'hl2dm', 'dods', 'nd']:
|
||||
libs = ['tier1_i486.a', 'mathlib_i486.a', 'libvstdlib_srv.so', 'libtier0_srv.so']
|
||||
for i in libs:
|
||||
link = os.path.join(workFolder, i)
|
||||
@ -284,7 +284,7 @@ class SM:
|
||||
job.AddCommand(command.DirectCommand(['cp', '-f', target, link]))
|
||||
else:
|
||||
job.AddCommand(SymlinkCommand(link, target))
|
||||
elif sdk in ['l4d', 'csgo', 'nd']:
|
||||
elif sdk in ['l4d', 'csgo']:
|
||||
libs = ['tier1_i486.a', 'mathlib_i486.a', 'libvstdlib.so', 'libtier0.so']
|
||||
if sdk == 'csgo':
|
||||
libs.append('interfaces_i486.a')
|
||||
@ -381,10 +381,10 @@ class SM:
|
||||
if not noLink:
|
||||
if AMBuild.target['platform'] == 'linux':
|
||||
compiler['POSTLINKFLAGS'][0:0] = ['-lm']
|
||||
if sdk in ['tf2', 'css', 'l4d2', 'hl2dm', 'dods']:
|
||||
if sdk in ['tf2', 'css', 'l4d2', 'hl2dm', 'dods', 'nd']:
|
||||
compiler['POSTLINKFLAGS'][0:0] = ['libtier0_srv.so']
|
||||
compiler['POSTLINKFLAGS'][0:0] = ['libvstdlib_srv.so']
|
||||
elif sdk in ['l4d', 'csgo', 'nd']:
|
||||
elif sdk in ['l4d', 'csgo']:
|
||||
compiler['POSTLINKFLAGS'][0:0] = ['libtier0.so']
|
||||
compiler['POSTLINKFLAGS'][0:0] = ['libvstdlib.so']
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user