Ticket #32706: setup.py.patch

File setup.py.patch, 507 bytes (added by bpanulla (Brian Panulla), 13 years ago)

New patch that fixes include/library paths.

  • setup.py

    old new  
    132132        settings['libraries'].append('odbc32')
    133133
    134134    elif sys.platform == 'darwin':
    135         # OS/X now ships with iODBC.
    136         settings['libraries'].append('iodbc')
     135        settings['libraries'].append('odbc')
     136        settings['include_dirs'] = ['/opt/local/include']
     137        settings['library_dirs'] = ['/opt/local/lib']
    137138
    138139    else:
    139140        # Other posix-like: Linux, Solaris, etc.