Skip to content

Commit

Permalink
Merge pull request #35 from methane/static
Browse files Browse the repository at this point in the history
remove -lmysqlclient when static linking.
  • Loading branch information
farcepest committed Nov 21, 2013
2 parents 44f8b4d + 0beb712 commit 76037a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup_posix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 76037a2

Please sign in to comment.