#23 fix compile flags when building 1.1.7 under OSX

MySQLdb
closed
MySQLdb (53)
5
2014-09-20
2004-11-22
No

Darwin uses libcrypto instead of libcrypt.

Index: setup.py

RCS file: /cvsroot/mysql-python/MySQLdb/setup.py,v
retrieving revision 1.46
diff -r1.46 setup.py
44c44,45
< libraries.append("crypt")


if sys.platform <> 'darwin':
    libraries.append("crypt")

Discussion

  • Victor T. Ng

    Victor T. Ng - 2004-11-22

    Logged In: YES
    user_id=679596

    sorry - i meant to say that Darwin has libcrypt built into
    the System.framework bundle so you don't have to specify
    libcrypt.

     
  • Andy Dustman

    Andy Dustman - 2004-11-22

    Logged In: YES
    user_id=71372

    I'll do something like this in the 1.1 series.

     

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

Sign up for the SourceForge newsletter:





No, thanks