#49 Patch for static compiling

MySQLdb
open
MySQLdb (53)
5
2012-09-19
2007-04-24
No

This patch against setup_posix.py provides more robust static compilation logic. Static compilation is unsuccessful in our environment without this. It makes setup_posix.py actually verify the path for the client library, and properly removes references to the shared version from the libraries array.

Tested under Red Hat RHELv3.

Discussion

  • Martin McGreal

    Martin McGreal - 2007-04-24

    A unified diff containing the patch

     
  • Martin McGreal

    Martin McGreal - 2007-04-24

    Logged In: YES
    user_id=703727
    Originator: YES

    The first patch I submitted only considers linking statically to libmysqlclient. This version looks for all available static libraries to link to, which would typically mean libz is statically linked as well.

    File Added: mypatch.diff

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks