summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
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,