ruby-changes:53391
From: nobu <ko1@a...>
Date: Wed, 7 Nov 2018 23:27:32 +0900 (JST)
Subject: [ruby-changes:53391] nobu:r65607 (trunk): Convert MJIT_CC to Windows path on msys too
nobu 2018-11-07 23:27:27 +0900 (Wed, 07 Nov 2018) New Revision: 65607 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65607 Log: Convert MJIT_CC to Windows path on msys too Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 65606) +++ configure.ac (revision 65607) @@ -255,8 +255,8 @@ AC_SUBST(CSRCFLAG) https://github.com/ruby/ruby/blob/trunk/configure.ac#L255 : ${MJIT_CC=$CC} AS_IF([test "x$cross_compiling" = xno], [ AC_PATH_PROG([MJIT_CC], ${MJIT_CC-$CC}) - AS_CASE([$build_os:$host_os], - [*cygwin*:*mingw*], [MJIT_CC=`cygpath -ma $MJIT_CC`]) + AS_CASE([$target_os], + [*mingw*], [command -v cygpath && MJIT_CC=`cygpath -ma $MJIT_CC`]) shift 2 MJIT_CC="$MJIT_CC${1+ }$*" ]) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/