summaryrefslogtreecommitdiff
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-07-22 09:17:23 +0000
committerBram Moolenaar <Bram@vim.org>2009-07-22 09:17:23 +0000
commit996b6d86cc6cb108f6a48c474dd7116dccb5f4f9 (patch)
tree787c7f0b04fb9df647b15fe880c03f42bcfb4499 /src/auto
parentb245016c15abdaf65c15696c8abff188650734cd (diff)
downloadvim-996b6d86cc6cb108f6a48c474dd7116dccb5f4f9.zip
updated for version 7.2-236
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 42f4784dd..1049c0ceb 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -5780,7 +5780,10 @@ $as_echo "$rubyhdrdir" >&6; }
fi
rubyldflags=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'`
if test "X$rubyldflags" != "X"; then
- LDFLAGS="$rubyldflags $LDFLAGS"
+ rubyldflags=`echo "$rubyldflags" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//'`
+ if test "X$rubyldflags" != "X"; then
+ LDFLAGS="$rubyldflags $LDFLAGS"
+ fi
fi
RUBY_SRC="if_ruby.c"
RUBY_OBJ="objects/if_ruby.o"