Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c0939d

Browse files
committed
Handle spaces for Python install location in MSVC scripts
Attempting to use an installation path of Python that includes spacescaused the MSVC builds to fail. This fixes the issue by using the samequoting method asad7595b for OpenSSL.Author: Victor WagnerDiscussion:https://postgr.es/m/20200430150608.6dc6b8c4@antares.wagner.homeBackpatch-through: 9.5
1 parentbefa0e4 commit8c0939d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ sub mkvcbuild
497497
my$pythonprog ="import sys;print(sys.prefix);"
498498
."print(str(sys.version_info[0])+str(sys.version_info[1]))";
499499
my$prefixcmd =
500-
$solution->{options}->{python} ."\\python -c\"$pythonprog\"";
500+
qq("$solution->{options}->{python}\\python" -c "$pythonprog");
501501
my$pyout =`$prefixcmd`;
502502
die"Could not query for python version!\n"if$?;
503503
my ($pyprefix,$pyver) =split(/\r?\n/,$pyout);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp