vim/vim-7.0-ruby_ldflags_configure.patch

12 lines
503 B
Diff

--- vim70/src/auto/configure.orig 2006-05-04 12:46:19.000000000 +0200
+++ vim70/src/auto/configure 2006-08-09 14:45:46.000000000 +0200
@@ -4784,7 +4784,7 @@
if test "X$librubyarg" != "X"; then
RUBY_LIBS="$librubyarg $RUBY_LIBS"
fi
- rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'`
+ rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]' | sed 's/\\\\,/,/g'`
if test "X$rubyldflags" != "X"; then
LDFLAGS="$rubyldflags $LDFLAGS"
fi