c208c783f5
This patch was "nicked" from the MINGW-packages project by Daniel.
9253d0bf58
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>