My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 280 attachment: setup.py.patch (473 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/setup.py b/setup.py
index b92666f..cbf3846 100755
--- a/setup.py
+++ b/setup.py
@@ -163,6 +163,9 @@ def get_compiler_settings(version_str):

# What is the proper way to detect iODBC, MyODBC, unixODBC, etc.?
settings['libraries'].append('odbc')
+ if sys.platform.startswith('freebsd'):
+ settings['library_dirs'] = ['/usr/local/lib/']
+ settings['include_dirs'] = ['/usr/local/include/']

return settings

Powered by Google Project Hosting