renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes
and allows using MSVC when it's in the PATH
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 16bf852..be313d4 100755
--- a/configure
+++ b/configure
@@ -2633,7 +2633,8 @@ case "$toolchain" in
         else
             cc_default="c99wrap cl"
         fi
-        ld_default="link"
+        ld_default=`which link.exe`
+        ld_default="${VCINSTALLDIR}"
         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