diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-07-22 09:17:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-07-22 09:17:23 +0000 |
commit | 996b6d86cc6cb108f6a48c474dd7116dccb5f4f9 (patch) | |
tree | 787c7f0b04fb9df647b15fe880c03f42bcfb4499 /src/auto | |
parent | b245016c15abdaf65c15696c8abff188650734cd (diff) | |
download | vim-996b6d86cc6cb108f6a48c474dd7116dccb5f4f9.zip |
updated for version 7.2-236
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 5 |
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" |