summaryrefslogtreecommitdiff
blob: 020b76a723be1719862018cca6010402eb75d1f2 (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
diff -Naur sary-ruby-1.2.0.orig/extconf.rb sary-ruby-1.2.0/extconf.rb
--- sary-ruby-1.2.0.orig/extconf.rb	2005-03-30 07:48:09.000000000 +0900
+++ sary-ruby-1.2.0/extconf.rb	2008-09-23 09:16:23.000000000 +0900
@@ -5,8 +5,8 @@
 
 # use_sary_config = enable_config('sary-config')
 # if use_sary_config || use_sary_config == nil 
-#   $CFLAGS  += ' ' + `#{sary_config} --cflags`.chomp
-#   $LDFLAGS += ' ' + `#{sary_config} --libs`.chomp
+#   $CFLAGS += ' ' + `#{sary_config} --cflags`.chomp
+#   $LIBS   += ' ' + `#{sary_config} --libs`.chomp
 # end
 
 pkg_config = 'pkg-config'
@@ -15,8 +15,8 @@
   ENV['PKG_CONFIG_PATH'] = '/usr/local/lib/pkgconfig/'
 end
 
-$CFLAGS  += ' ' + `#{pkg_config} sary --cflags`.chomp
-$LDFLAGS += ' ' + `#{pkg_config} sary --libs`.chomp
+$CFLAGS += ' ' + `#{pkg_config} sary --cflags`.chomp
+$LIBS   += ' ' + `#{pkg_config} sary --libs`.chomp
 
 if have_header('sary.h') &&
     have_library('sary')