From d685614138e588dc82b84cddae254fc120279762 Mon Sep 17 00:00:00 2001 From: Steffen Siering Date: Wed, 18 Jan 2012 19:02:11 +0100 Subject: adopt setup.py to work with python installation older 2.7 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ddacbe2..f34e341 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,9 @@ else: Sdist = sdist -libraries = ['ws2_32'] if sys.platform == 'win32' else [] +libraries = [] +if sys.platform == 'win32': + libraries.append('ws2_32') msgpack_mod = Extension('msgpack._msgpack', sources=sources, -- cgit v1.2.1