diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,6 @@ -Thu Aug 9 23:46:42 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> +Thu Aug 9 23:46:47 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in (MINIRUBY): use real path for include path. * template/fake.rb.in (builddir): remove duplications diff --git a/configure.in b/configure.in index d4f40ecdf3..8f08aea456 100644 --- a/configure.in +++ b/configure.in @@ -2479,7 +2479,7 @@ fi BTESTRUBY='$(MINIRUBY)' if test x"$cross_compiling" = xyes; then - test x"$MINIRUBY" = x && MINIRUBY="${RUBY-$BASERUBY} -I`pwd` "-r'$(arch)-fake' + test x"$MINIRUBY" = x && MINIRUBY="${RUBY-$BASERUBY} -I`$CHDIR .; pwd` "-r'$(arch)-fake' XRUBY_LIBDIR=`${RUBY-$BASERUBY} -rrbconfig -e ['puts RbConfig::CONFIG["libdir"]']` XRUBY_RUBYLIBDIR=`${RUBY-$BASERUBY} -rrbconfig -e ['puts RbConfig::CONFIG["rubylibdir"]']` XRUBY_RUBYHDRDIR=`${RUBY-$BASERUBY} -rrbconfig -e ['puts RbConfig::CONFIG["rubyhdrdir"]']` |