diff options
author | Charlie Arnold <charlie.arnold@gmail.com> | 2016-01-23 13:11:59 -0800 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-23 22:22:04 +0100 |
commit | 22ee0a576faff87a24e30b2a27a3607dee4ca6c7 (patch) | |
tree | 5853b05fb77e0d1d27f111c12f1586432f3d4179 /configure | |
parent | f503022ce56a27b217437af6635b191e09ab1ec5 (diff) | |
download | ffmpeg-22ee0a576faff87a24e30b2a27a3607dee4ca6c7.tar.gz |
build: fix msvc build
Fix configure to set DST_PATH to the Windows style path when building with MSVC
Fixes ticket #5180.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -6233,6 +6233,12 @@ enabled stripping || strip="echo skipping strip" config_files="$TMPH config.mak doc/config.texi" +if enabled msvc; then + dst_path=$(pwd -W) +else + dst_path=$(pwd) +fi + cat > config.mak <<EOF # Automatically generated by configure - do not modify! ifndef FFMPEG_CONFIG_MAK @@ -6251,7 +6257,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 |