summaryrefslogtreecommitdiff
path: root/setup_posix.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup_posix.py')
-rw-r--r--setup_posix.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup_posix.py b/setup_posix.py
index f7cb588..cfcf33c 100644
--- a/setup_posix.py
+++ b/setup_posix.py
@@ -71,8 +71,9 @@ def get_config():
if i.startswith(compiler_flag('I')) ]
if static:
- extra_objects.append(os.path.join(
- library_dirs[0],'lib%s.a' % client))
+ extra_objects.append(os.path.join(library_dirs[0],'lib%s.a' % client))
+ if client in libraries:
+ libraries.remove(client)
name = "MySQL-python"
if enabled(options, 'embedded'):