Skip to content

Commit 8e7fe03

Browse files
committed
Look for pyconfig.h in the current working directory
1 parent 508e3ca commit 8e7fe03

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Tools/build/generate_getbuildinfo.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def get_py_version():
3030

3131

3232
def get_gil_disable():
33-
pyconfig_h = os.path.join(SRC_DIR, 'pyconfig.h')
33+
# Look in the current working directory
34+
pyconfig_h = 'pyconfig.h'
3435
with open(pyconfig_h, encoding='utf8') as fp:
3536
code = fp.read()
3637

0 commit comments

Comments
 (0)