use cygpath to determine the path of link.exe next to cl.exe, when available
---
 configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 16bf852..5154d6e 100755
--- a/configure
+++ b/configure
@@ -2633,7 +2633,11 @@ case "$toolchain" in
         else
             cc_default="c99wrap cl"
         fi
-        ld_default="link"
+        if test -x `which cygpath`; then
+          ld_default=`cygpath -d "\`which cl.exe | sed 
"s/cl.exe/link.exe/g"\`"`
+        else
+          ld_default="link.exe"
+        fi
         nm_default="dumpbin -symbols"
         ar_default="lib"
         target_os_default="win32"
-- 
2.4.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to