diff --git a/python/setup.py b/python/setup.py
index f70ef07e5bf9b8cedde979f93c47bedc3f88f87b..52a7d0bc2e5d814e934ab11d96cda852cfd2fc7e 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -52,7 +52,7 @@ def get_extension_modules():
                       sources=['pysharp.cc'],
                       include_dirs=include_dirs,
                       extra_compile_args=extra_cc_compile_args,
-                      libraries=["sharp"],
+                      libraries=["sharp2"],
                       library_dirs=[sharp_libpath],
                       extra_link_args=python_module_link_args)]