Fixed clientprefs prefab menu double free crash (
bug 5374, r=asherkin).
1 # vim: set ts=2 sw=2 tw=99 noet ft=python:
4 compiler = SM.DefaultExtCompiler('extensions/bintools')
5 compiler['CDEFINES'].append('HOOKING_ENABLED')
6 compiler['CXXINCLUDES'].append(os.path.join(SM.mmsPath, 'core', 'sourcehook'))
7 compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'public', 'jit'))
8 compiler['CXXINCLUDES'].append(os.path.join(AMBuild.sourceFolder, 'public', 'jit', 'x86'))
10 extension = AMBuild.AddJob('bintools.ext')
11 binary = Cpp.LibraryBuilder('bintools.ext', AMBuild, extension, compiler)
12 binary.AddSourceFiles('extensions/bintools', [
21 SM.AutoVersion('extensions/bintools', binary)