Fix Windows build.
This commit is contained in:
parent
6c8c605fa3
commit
73f52fd53a
|
@ -32,7 +32,7 @@ if ($argn > 0 && $^O !~ /MSWin/) {
|
||||||
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py $conf_args`;
|
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py $conf_args`;
|
||||||
} else {
|
} else {
|
||||||
if ($^O =~ /MSWin/) {
|
if ($^O =~ /MSWin/) {
|
||||||
$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
|
$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
|
||||||
} else {
|
} else {
|
||||||
$result = `CC=clang CXX=clang python3 ../build/configure.py $conf_args`;
|
$result = `CC=clang CXX=clang python3 ../build/configure.py $conf_args`;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,11 @@ if ($argn > 0) {
|
||||||
$ENV{CXX} = $ARGV[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)
|
if ($? != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user