8000 gh-113039: Avoid using leading dots in the include path for frozen ge… · python/cpython@2feec0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2feec0f

Browse files
authored
gh-113039: Avoid using leading dots in the include path for frozen getpath.py (GH-113022)
1 parent d00dbf5 commit 2feec0f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Modules/getpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#endif
2323

2424
/* Reference the precompiled getpath.py */
25-
#include "../Python/frozen_modules/getpath.h"
25+
#include "Python/frozen_modules/getpath.h"
2626

2727
#if (!defined(PREFIX) || !defined(EXEC_PREFIX) \
2828
|| !defined(VERSION) || !defined(VPATH) \

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
PLATLIBDIR="DLLs";
121121
%(PreprocessorDefinitions)
122122
</PreprocessorDefinitions>
123+
<AdditionalIncludeDirectories>$(PySourcePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
123124
</ClCompile>
124125
</ItemGroup>
125126
<ItemGroup>

0 commit comments

Comments
 (0)
0