common/autoconf/toolchain_windows.m4

changeset 2209
cddffb220808
parent 2208
feba63b3fa36
child 2219
cb1203f48728
     1.1 --- a/common/autoconf/toolchain_windows.m4	Fri Apr 06 04:13:09 2018 -0700
     1.2 +++ b/common/autoconf/toolchain_windows.m4	Fri Apr 06 04:20:26 2018 -0700
     1.3 @@ -211,6 +211,9 @@
     1.4        VCINSTALLDIR=`$ECHO "$VCINSTALLDIR" | $SED 's/\\\\* *$//'`
     1.5        WindowsSDKDir=`$ECHO "$WindowsSDKDir" | $SED 's/\\\\* *$//'`
     1.6        WINDOWSSDKDIR=`$ECHO "$WINDOWSSDKDIR" | $SED 's/\\\\* *$//'`
     1.7 +      # Remove any paths containing # (typically F#) as that messes up make. This
     1.8 +      # is needed if visual studio was installed with F# support.
     1.9 +      VS_PATH=`$ECHO "$VS_PATH" | $SED 's/[[^:#]]*#[^:]*://g'`
    1.10  
    1.11        AC_SUBST(VS_PATH)
    1.12        AC_SUBST(VS_INCLUDE)

mercurial