Fixed SM ambuild config failure at TF2 ext if ep2v sdk is missing (bug 5608, r=psychonic).

This commit is contained in:
Kyle Sanderson 2013-02-12 12:26:10 -05:00
parent 8950a693db
commit f2d54b7728

View File

@ -1,6 +1,6 @@
# vim: set ts=2 sw=2 tw=99 noet ft=python:
import os
if 'ep2v' in SM.sdkInfo:
sdk = SM.sdkInfo['ep2v']
compiler = SM.DefaultHL2Compiler('extensions/tf2', 'ep2v')
if compiler.cc.name == 'gcc' or compiler.cc.name == 'clang':