Fix Windows build.
This commit is contained in:
parent
a4e929eedc
commit
8c6b0f84bb
@ -32,7 +32,7 @@ if ($argn > 0 && $^O !~ /MSWin/) {
|
||||
$result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`;
|
||||
} else {
|
||||
if ($^O =~ /MSWin/) {
|
||||
$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
|
||||
$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
|
||||
} else {
|
||||
$result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
|
||||
}
|
||||
|
@ -15,7 +15,11 @@ if ($argn > 0) {
|
||||
$ENV{CXX} = $ARGV[0];
|
||||
}
|
||||
|
||||
system("ambuild --no-color 2>&1");
|
||||
if ($^O !~ /MSWin/) {
|
||||
system("ambuild --no-color 2>&1");
|
||||
} else {
|
||||
system("C:\\Python38\\scripts\\ambuild --no-color 2>&1");
|
||||
}
|
||||
|
||||
if ($? != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user