summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSteffen Siering <steffendotsieringbeigmailpunktcom>2012-01-18 19:02:11 +0100
committerSteffen Siering <steffendotsieringbeigmailpunktcom>2012-01-18 19:02:11 +0100
commitd685614138e588dc82b84cddae254fc120279762 (patch)
tree29bf7140d1cd18d58643c644465d0543dd0116de /setup.py
parentac713705ebdd131acb92b52116e6ec180731add2 (diff)
downloadmsgpack-python-d685614138e588dc82b84cddae254fc120279762.tar.gz
adopt setup.py to work with python installation older 2.7
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 3 insertions, 1 deletions
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,