aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorCharlie Arnold <charlie.arnold@gmail.com>2016-01-23 13:11:59 -0800
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-23 22:22:04 +0100
commit22ee0a576faff87a24e30b2a27a3607dee4ca6c7 (patch)
tree5853b05fb77e0d1d27f111c12f1586432f3d4179 /configure
parentf503022ce56a27b217437af6635b191e09ab1ec5 (diff)
downloadffmpeg-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-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 8f4642b898..f7d10004d5 100755
--- a/configure
+++ b/configure
@@ -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