Skip to content

Commit ba6c2c1

Browse files
committed
cd to the physical source directory for symlinked build directory
1 parent 9fedae9 commit ba6c2c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4703,7 +4703,7 @@ AC_CONFIG_FILES(Makefile:template/Makefile.in, [
47034703
echo common_mk_includes "@S|@*" # generate the macro assignment
47044704
shift
47054705
common_mk_includes="`echo \"@S|@*\" | sed 's|\$(srcdir)|.|g'`"
4706-
(cd ${srcdir} && sed -f tool/prereq.status common.mk ${common_mk_includes})
4706+
($CHDIR ${srcdir} && sed -f tool/prereq.status common.mk ${common_mk_includes})
47074707
AS_IF([test "$YJIT_SUPPORT" = yes], [
47084708
cat ${srcdir}/yjit/not_gmake.mk
47094709
echo ['$(MKFILES): ${srcdir}/yjit/not_gmake.mk']
@@ -4729,7 +4729,7 @@ AC_CONFIG_FILES(Makefile:template/Makefile.in, [
47294729
rm -f uncommon.mk # remove stale uncommon.mk, it should be updated by GNUmakefile
47304730
test "$tmpmk" = "$tmpgmk" || rm -f "$tmpgmk"
47314731
]) && mv -f $tmpmk Makefile],
4732-
[EXEEXT='$EXEEXT' MAKE='${MAKE-make}' gnumake='$gnumake' GIT='$GIT' YJIT_SUPPORT='$YJIT_SUPPORT'])
4732+
[CHDIR='$CHDIR' EXEEXT='$EXEEXT' MAKE='${MAKE-make}' gnumake='$gnumake' GIT='$GIT' YJIT_SUPPORT='$YJIT_SUPPORT'])
47334733

47344734
AC_ARG_WITH([ruby-pc],
47354735
AS_HELP_STRING([--with-ruby-pc=FILENAME], [pc file basename]),

0 commit comments

Comments
 (0)