summaryrefslogtreecommitdiffstats
path: root/testing/lua-sql-odbc/config.patch
blob: e5152f1cc1ea7ea648c00759ba96ea189279d81f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- a/config
+++ b/config
@@ -1,15 +1,15 @@
 # Driver (leave uncommented ONLY the line with the name of the driver)
 #T= mysql
 #T= oci8
-#T= odbc
+T= odbc
 #T= postgres
 #T= sqlite
-T=sqlite3
+#T=sqlite3
 
 # Installation directories
 
 # Default prefix
-PREFIX = /usr/local
+PREFIX = /usr
 
 # System's libraries directory (where binary libraries are installed)
 LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
@@ -45,11 +45,11 @@
 #DRIVER_LIBS= -lsqlite
 #DRIVER_INCS=
 ######## SQLite3 
-DRIVER_LIBS= -L/opt/local/lib -lsqlite3
-DRIVER_INCS= -I/opt/local/include
+#DRIVER_LIBS= -L/opt/local/lib -lsqlite3
+#DRIVER_INCS= -I/opt/local/include
 ######## ODBC
-#DRIVER_LIBS= -L/usr/local/lib -lodbc
-#DRIVER_INCS= -DUNIXODBC -I/usr/local/include
+DRIVER_LIBS= -L/usr/local/lib -lodbc
+DRIVER_INCS= -DUNIXODBC -I/usr/local/include
 
 WARN= -Wall -Wmissing-prototypes -Wmissing-declarations -ansi -pedantic
 INCS= -I$(LUA_INC)