summaryrefslogtreecommitdiff
blob: de911b8758d38ee9d462123a8cda5c857fece4bc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- build/ac-macros/swig.m4.old	2005-10-21 14:31:22.000000000 +0200
+++ build/ac-macros/swig.m4	2005-10-21 14:31:47.000000000 +0200
@@ -216,7 +216,7 @@
       SWIG_RB_COMPILE="$svn_cv_ruby_compile"
 
       AC_CACHE_CHECK([how to link Ruby extensions], [svn_cv_ruby_link],[
-        svn_cv_ruby_link="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(LDSHARED)).sub(/^\w+/, Config::CONFIG.fetch(%q(CC)) + %q( -shrext .) + Config::CONFIG.fetch(%q(DLEXT)))'`"
+        svn_cv_ruby_link="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(LDSHARED)).sub(/^\S+/, Config::CONFIG.fetch(%q(CC)) + %q( -shrext .) + Config::CONFIG.fetch(%q(DLEXT)))'`"
       ])
       SWIG_RB_LINK="$svn_cv_ruby_link"