Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#23 fix compile flags when building 1.1.7 under OSX

MySQLdb
closed
Andy Dustman
MySQLdb (53)
5
2012-09-19
2004-11-22
Victor T. Ng
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.