gh-113039: Avoid using leading dots in the include path for frozen getpath.py (GH-113022)

This commit is contained in:
Itamar Oren 2023-12-18 09:04:40 -08:00 committed by GitHub
parent d00dbf5415
commit 2feec0fc7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -22,7 +22,7 @@
#endif
/* Reference the precompiled getpath.py */
#include "../Python/frozen_modules/getpath.h"
#include "Python/frozen_modules/getpath.h"
#if (!defined(PREFIX) || !defined(EXEC_PREFIX) \
|| !defined(VERSION) || !defined(VPATH) \

View file

@ -120,6 +120,7 @@
PLATLIBDIR="DLLs";
%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(PySourcePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemGroup>
<ItemGroup>