Ticket #31496: patch-setup.py

File patch-setup.py, 965 bytes (added by rizwank@…, 13 years ago)
Line 
1--- setup.py    2011-08-20 00:58:06.000000000 -0700
2+++ setup.py    2011-08-20 00:59:54.000000000 -0700
3@@ -69,19 +69,10 @@
4 
5 else:
6     include_dirs = [
7-        '/usr/local/include', '/usr/local/include/freetds',  # first local install
8-        '/usr/include', '/usr/include/freetds',   # some generic Linux paths
9-        '/usr/include/freetds_mssql',             # some versions of Mandriva
10-        '/usr/local/freetds/include',             # FreeBSD
11-        '/usr/pkg/freetds/include'                   # NetBSD
12+        '__PREFIX__/include', '__PREFIX__/include/freetds'
13     ]
14     library_dirs = [
15-        '/usr/local/lib', '/usr/local/lib/freetds',
16-        '/usr/lib64',
17-        '/usr/lib', '/usr/lib/freetds',
18-        '/usr/lib/freetds_mssql',
19-        '/usr/local/freetds/lib',
20-        '/usr/pkg/freetds/lib'
21+        '__PREFIX__/lib', '__PREFIX__/lib/freetds'
22     ]
23     libraries = [ "sybdb" ]   # on Mandriva you may have to change it to sybdb_mssql
24