Issue 4494: Python 2.6 fails to build with Py_NO_ENABLE_SHARED
Issue4494
Created on 2008-12-02 20:46 by snaury, last changed 2022-04-11 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| python-2.6-static.patch | snaury, 2008-12-02 20:46 | |||
| Messages (2) | |||
|---|---|---|---|
| msg76778 - (view) | Author: Alexey Borzenkov (snaury) | Date: 2008-12-02 20:46 | |
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. |
|||
| msg80942 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2009-02-02 15:34 | |
Thanks for the patch. Committed as r69205, r69206, r69207, r69208. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:56:42 | admin | set | github: 48744 |
| 2009-02-02 15:34:26 | loewis | set | status: open -> closed resolution: accepted messages: + msg80942 |
| 2008-12-02 20:58:10 | loewis | set | priority: high assignee: loewis |
| 2008-12-02 20:53:03 | snaury | set | nosy: + loewis |
| 2008-12-02 20:46:50 | snaury | create | |
