[New-bugs-announce] [issue4494] Python 2.6 fails to build with Py_NO_ENABLE_SHARED

Alexey Borzenkov report at bugs.python.org
Tue Dec 2 21:47:38 CET 2008


New submission from Alexey Borzenkov <snaury at gmail.com>:

When building python 2.6 with Py_NO_ENABLE_SHARED compilation fails on
PC/getpathp.c, because it uses PyWin_DLLVersionString and
PyWin_DLLhModule unconditionally, which are implemented in PC/dl_nt.c
only when Py_ENABLE_SHARED is defined. The attached patch fixes the
problem by wrapping dependent parts in if #ifdef Py_ENABLE_SHARED/#endif.

----------
components: Windows
files: python-2.6-static.patch
keywords: patch
messages: 76778
nosy: snaury
severity: normal
status: open
title: Python 2.6 fails to build with Py_NO_ENABLE_SHARED
type: compile error
versions: Python 2.6
Added file: http://bugs.python.org/file12203/python-2.6-static.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4494>
_______________________________________


More information about the New-bugs-announce mailing list