aboutsummaryrefslogtreecommitdiffstats
path: root/databases/ruby-sybct/files/patch-extconf.rb
blob: 1d86666b4c24d92dbe39791e55f1c2f6e5f59396 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- extconf.rb.orig 2008-09-10 14:37:10.000000000 +1000
+++ extconf.rb  2008-09-10 14:38:20.000000000 +1000
@@ -59,10 +59,10 @@
 ###########################################################
 
 ### Linux + Free TDS (freetds-0.64 or above) ################
-# sybase = "/usr/local/freetds"
-# $CFLAGS = "-g -Wall -DFREETDS -I#{sybase}/include"
-# $LDFLAGS = " -L#{sybase}/lib " 
-# $LOCAL_LIBS = "-lct  -lsybdb -ltds -rdynamic -ldl -lnsl -lm"
+ sybase = "%%LOCALBASE%%"
+ $CFLAGS = "-g -Wall -DFREETDS -I#{sybase}/include"
+ $LDFLAGS = " -L#{sybase}/lib " 
+ $LOCAL_LIBS = "-lct  -lsybdb -ltds -rdynamic -lm -liconv"
 
 ### mac-osx-tiger + Free TDS (freetds-0.64 ) ################
 # sybase = "/usr/local/freetds"