Fix build.
This commit is contained in:
+10
-11
@@ -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
Submodule sourcepawn updated: 1b3062875d...2b969103ff
Reference in New Issue
Block a user