1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-30 19:52:17 +01:00

Switch to python3 for ambuild.

This commit is contained in:
David Anderson 2021-07-11 22:24:38 -07:00
parent 076717b6f4
commit 939525b976

View File

@ -61,12 +61,12 @@ push(@conf_argv, '--sdks=all');
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";