mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 10:28:34 +00:00
Use python3 for ambuild.
This commit is contained in:
parent
8bf8c98274
commit
0b468f215a
@ -61,12 +61,12 @@ if ($^O !~ /MSWin/) {
|
||||
my $conf_args = join(' ', @conf_argv);
|
||||
|
||||
if ($argn > 0 && $^O !~ /MSWin/) {
|
||||
$result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`;
|
||||
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py $conf_args`;
|
||||
} else {
|
||||
if ($^O =~ /MSWin/) {
|
||||
$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
|
||||
} else {
|
||||
$result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
|
||||
$result = `CC=clang CXX=clang python3 ../build/configure.py $conf_args`;
|
||||
}
|
||||
}
|
||||
print "$result\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user