From 70b96e9c2ea27f7798555464b446660332cb01e4 Mon Sep 17 00:00:00 2001 From: "Nicolas F." Date: Mon, 12 Aug 2013 01:12:50 +0200 Subject: [PATCH] Add note about distutils bug. --- docs/building.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/building.rst b/docs/building.rst index 8caa352..bb264e9 100644 --- a/docs/building.rst +++ b/docs/building.rst @@ -81,6 +81,10 @@ Building with mingw 4. Build:: python setup.py build --compiler=mingw32 + +If the build fails with complaints about ``-mno-cygwin``, open the file ``Lib/distutils/cygwincompiler.py`` +in an editor of your choice, and remove all mentions of ``-mno-cygwin``. This is a bug in distutils, +filed as `Issue 12641 `_. Linux