aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-09 14:46:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-09 14:46:48 +0000
commit50f3d3feb545b750e06bb267b651cd12dfa1f1ce (patch)
tree6db904ba523524e00fbd9c3c7160fc3d2f91d4df
parent1fcc1762ad0fa839bd4609371714d60e2aecbcbf (diff)
downloadruby-50f3d3feb545b750e06bb267b651cd12dfa1f1ce.tar.gz
configure.in: use real path
* configure.in (MINIRUBY): use real path for include path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--configure.in2
2 files changed, 4 insertions, 2 deletions
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 <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"]']`