--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@
     include_dirs=[incdir],
     libraries=['libmp3lame'] if sys.platform == 'win32' else [],
     extra_objects=
-        [] if sys.platform == 'win32' else [os.path.join(libdir, 'libmp3lame.a')],
+        [] if sys.platform == 'win32' else [os.path.join(libdir, 'libmp3lame.so')],
     library_dirs=[libdir] if sys.platform == 'win32' else [],
     sources=['lameenc.c']
 )
