view patches/python-2.4.2-setup.py-selectmodule.patch @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents 5fa236e0558e
children
line wrap: on
line source

From f446e30cf2b814dcae0ff6016865a83ce0235798 Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Sat, 22 Mar 2008 17:45:15 -0300
Subject: [PATCH] patch

---
 setup.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/setup.py b/setup.py
index b389b0d..c5e83b0 100644
--- a/setup.py
+++ b/setup.py
@@ -366,7 +366,9 @@ class PyBuildExt(build_ext):
             # grp(3)
             exts.append( Extension('grp', ['grpmodule.c']) )
         # select(2); not on ancient System V
-        exts.append( Extension('select', ['selectmodule.c']) )
+        ext = Extension('select', ['selectmodule.c'])
+        ext.libraries += ['wsock32']
+        exts.append( ext)
 
         # The md5 module implements the RSA Data Security, Inc. MD5
         # Message-Digest Algorithm, described in RFC 1321.  The
-- 
1.5.4.1