summaryrefslogtreecommitdiff
path: root/databases/py-MySQLdb-devel/files/patch-ab
blob: 12b44feae719a19e4488382cddadde6ecb47aad2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- setup.py.orig	Tue Oct 31 21:28:16 2000
+++ setup.py	Wed Nov  1 13:51:41 2000
@@ -32,8 +32,8 @@
     runtime_library_dirs = []
     extra_objects = [r'c:\mysql\lib\opt\mysqlclient.lib']
 elif os.name == "posix": # most Linux/UNIX platforms
-    include_dirs = ['/usr/include/mysql']
-    library_dirs = ['/usr/lib/mysql']
+    include_dirs = ['%%LOCALBASE%%/include/mysql']
+    library_dirs = ['%%LOCALBASE%%/lib/mysql']
     # MySQL-3.23 seems to need libz
     libraries = [mysqlclient, "z"]
     # On some platorms, this can be used to find the shared libraries