cd using the physical directory from symlinked build directory

This commit is contained in:
Nobuyoshi Nakada 2025-08-20 15:45:59 +09:00
parent 609fe7e48a
commit 683dd92de8
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -4703,7 +4703,7 @@ AC_CONFIG_FILES(Makefile:template/Makefile.in, [
echo common_mk_includes "@S|@*" # generate the macro assignment
shift
common_mk_includes="`echo \"@S|@*\" | sed 's|\$(srcdir)|.|g'`"
(cd ${srcdir} && sed -f tool/prereq.status common.mk ${common_mk_includes})
(PWD= cd ${srcdir} && sed -f tool/prereq.status common.mk ${common_mk_includes})
AS_IF([test "$YJIT_SUPPORT" = yes], [
cat ${srcdir}/yjit/not_gmake.mk
echo ['$(MKFILES): ${srcdir}/yjit/not_gmake.mk']