Fix build.

This commit is contained in:
David Anderson 2015-03-15 19:27:44 -07:00
parent d846d91b0b
commit 7fc993e079
2 changed files with 11 additions and 12 deletions

View File

@ -499,17 +499,16 @@ if SM.use_auto_versioning():
) )
# Build SourcePawn externally. # Build SourcePawn externally.
with builder.Context('sourcepawn') as context: SourcePawn = builder.RunScript('sourcepawn/AMBuildScript', {})
SourcePawn = builder.RunScript('sourcepawn/AMBuildScript', {}) SP = SourcePawn(
SP = SourcePawn( root = SM,
root = SM, amtl = os.path.join(builder.sourcePath, 'public', 'amtl'),
amtl = os.path.join(builder.sourcePath, 'public', 'amtl'), )
) SP.BuildCore()
SP.BuildCore() SM.spcomp = SP.spcomp
SM.spcomp = SP.spcomp SM.binaries += [
SM.binaries += [ SP.libsourcepawn
SP.libsourcepawn ]
]
BuildScripts = [ BuildScripts = [
'loader/AMBuilder', 'loader/AMBuilder',

@ -1 +1 @@
Subproject commit 1b3062875df9121a3fd553673b1a6c6c412d9b08 Subproject commit 2b969103ff4dff74da3a0155e0ed187ea2d8667f