summaryrefslogtreecommitdiff
path: root/lang/python27/patches/patch-Lib_distutils_unixccompiler.py
diff options
context:
space:
mode:
authorobache <obache>2013-04-17 13:21:05 +0000
committerobache <obache>2013-04-17 13:21:05 +0000
commitd1c9d54b981cfa4def979e49fb7ef14b0d841bf2 (patch)
tree3c453b3ae94e13565cb8fae8c745e6c7b54b93c1 /lang/python27/patches/patch-Lib_distutils_unixccompiler.py
parent6fb2158f0a82cc2aaaa6db2d50c3d9113031a206 (diff)
downloadpkgsrc-d1c9d54b981cfa4def979e49fb7ef14b0d841bf2.tar.gz
Improve Cygwin support.
Diffstat (limited to 'lang/python27/patches/patch-Lib_distutils_unixccompiler.py')
-rw-r--r--lang/python27/patches/patch-Lib_distutils_unixccompiler.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/python27/patches/patch-Lib_distutils_unixccompiler.py b/lang/python27/patches/patch-Lib_distutils_unixccompiler.py
new file mode 100644
index 00000000000..1ad2d80ed43
--- /dev/null
+++ b/lang/python27/patches/patch-Lib_distutils_unixccompiler.py
@@ -0,0 +1,14 @@
+$NetBSD: patch-Lib_distutils_unixccompiler.py,v 1.1 2013/04/17 13:21:05 obache Exp $
+
+* from cygport 2.7.3-dylib.patch
+
+--- Lib/distutils/unixccompiler.py.orig 2013-04-06 14:02:26.000000000 +0000
++++ Lib/distutils/unixccompiler.py
+@@ -82,6 +82,7 @@ class UnixCCompiler(CCompiler):
+ static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s"
+ if sys.platform == "cygwin":
+ exe_extension = ".exe"
++ dylib_lib_extension = ".dll.a"
+
+ def preprocess(self, source,
+ output_file=None, macros=None, include_dirs=None,