diff --git a/.gitignore b/.gitignore index dcd163bc..5fec76db 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ tmp TAGS pyodbc.egg-info pyodbc.conf +/venv* \ No newline at end of file diff --git a/setup.py b/setup.py index 58d236e5..012f8974 100755 --- a/setup.py +++ b/setup.py @@ -159,8 +159,9 @@ def get_compiler_settings(version_str): settings['libraries'].append('odbc32') elif sys.platform == 'darwin': - # OS/X now ships with iODBC. - settings['libraries'].append('iodbc') + # The latest versions of OS X no longer ship with iodbc. Assume + # unixODBC for now. + settings['libraries'].append('odbc') # Python functions take a lot of 'char *' that really should be const. gcc complains about this *a lot* settings['extra_compile_args'].extend([