summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2026-05-12 21:30:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2026-05-13 11:55:57 +0900
commit5d9ea25ecd64dab53d34f307e12b25a48aa74f52 (patch)
treec51eaef05705e69b77c9577149c77403af0a7876
parentd9242cab17bc3c9076921a6888273cc40339923d (diff)
chdir to physical directory to achieve the source library path
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index caf3475a38..cfa78394d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3538,7 +3538,7 @@ AS_IF([test x"$cross_compiling" = xyes], [
# darwin target requires miniruby for linking ext bundles
PREP="$PREP"' miniruby$(EXEEXT)'
])
- RUNRUBY_COMMAND='$(MINIRUBY) -I`cd $(srcdir)/lib; pwd`'
+ RUNRUBY_COMMAND='$(MINIRUBY) -I`$(CHDIR) $(srcdir)/lib; pwd`'
RUNRUBY='$(RUNRUBY_COMMAND)'
XRUBY='$(MINIRUBY)'
TEST_RUNNABLE=no