diff --git a/ChangeLog b/ChangeLog index 1ab22a814d..10744c4da4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ -Thu Aug 9 23:46:42 2012 Nobuyoshi Nakada +Thu Aug 9 23:46:47 2012 Nobuyoshi Nakada + + * 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"]']`