mirror of
https://github.com/python/cpython
synced 2026-09-28 05:13:17 +03:00
gh-113039: Avoid using leading dots in the include path for frozen getpath.py (GH-113022)
This commit is contained in:
parent
d00dbf5415
commit
2feec0fc7f
2 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Reference the precompiled getpath.py */
|
/* Reference the precompiled getpath.py */
|
||||||
#include "../Python/frozen_modules/getpath.h"
|
#include "Python/frozen_modules/getpath.h"
|
||||||
|
|
||||||
#if (!defined(PREFIX) || !defined(EXEC_PREFIX) \
|
#if (!defined(PREFIX) || !defined(EXEC_PREFIX) \
|
||||||
|| !defined(VERSION) || !defined(VPATH) \
|
|| !defined(VERSION) || !defined(VPATH) \
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,7 @@
|
||||||
PLATLIBDIR="DLLs";
|
PLATLIBDIR="DLLs";
|
||||||
%(PreprocessorDefinitions)
|
%(PreprocessorDefinitions)
|
||||||
</PreprocessorDefinitions>
|
</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>$(PySourcePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue