On 23.01.2016 14:48, Hendrik Leppkes wrote: > On Sat, Jan 23, 2016 at 2:44 PM, Andreas Cadhalpun > <andreas.cadhal...@googlemail.com> wrote: >> Signed-off-by: Andreas Cadhalpun <andreas.cadhal...@googlemail.com> >> --- >> >> This hopefully fixes the build failures with MSVC. >> I don't have such an environment to test this, though. >> >> --- >> configure | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/configure b/configure >> index 8f4642b..64ce901 100755 >> --- a/configure >> +++ b/configure >> @@ -3104,6 +3104,8 @@ else >> die "Out of tree builds are impossible with config.h in source dir." >> fi >> >> +dst_path=$(pwd) >> + >> for v in "$@"; do >> r=${v#*=} >> l=${v%"$r"} >> @@ -3365,6 +3367,7 @@ case "$toolchain" in >> # issues with msys/win32 path conversion for MSVC parameters >> # such as -Fo<file> or -out:<file>. >> TMPDIR=. >> + dst_path=$(cygpath -w $dst_path) >> ;; >> icl) >> cc_default="icl" >> @@ -6251,7 +6254,7 @@ SRC_PATH=$source_path >> ifndef MAIN_MAKEFILE >> SRC_PATH:=\$(SRC_PATH:.%=..%) >> endif >> -DST_PATH=$(pwd) >> +DST_PATH=$dst_path >> CC_IDENT=$cc_ident >> ARCH=$arch >> INTRINSICS=$intrinsics >> -- >> 2.7.0.rc3 > > Unfortunately, cygpath is not guaranteed to be available, and in fact > is not on some working build setups today (ie. msys1 environments with > msvc)
Is there another way to get the Windows path on those environments? Best regards, Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel