[FFmpeg-devel] [PATCH] build: fix MSVC under cygwin
charlie.arnold at gmail.com
charlie.arnold at gmail.com
Sat Jan 23 23:48:49 CET 2016
From: Charles Arnold <charles.arnold at gisinc.com>
Use cygpath -w when running under cygwin, and pwd -W under mingw
---
configure | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index f7d1000..94a694a 100755
--- a/configure
+++ b/configure
@@ -6234,7 +6234,17 @@ enabled stripping || strip="echo skipping strip"
config_files="$TMPH config.mak doc/config.texi"
if enabled msvc; then
- dst_path=$(pwd -W)
+ case $host_os in
+ mingw32*|mingw64*)
+ dst_path=$(pwd -W)
+ ;;
+ cygwin*)
+ dst_path=$(cygpath -w $(pwd))
+ ;;
+ *)
+ dst_path=$(pwd)
+ ;;
+ esac
else
dst_path=$(pwd)
fi
--
1.9.5.msysgit.1
More information about the ffmpeg-devel
mailing list