On Tue, Jul 21, 2015 at 2:07 PM, Steve Lhomme <[email protected]> wrote:
> so no environment hack is needed when calling --toolchain=msvc
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 16bf852..5afaaa6 100755
> --- a/configure
> +++ b/configure
> @@ -2633,7 +2633,7 @@ case "$toolchain" in
>          else
>              cc_default="c99wrap cl"
>          fi
> -        ld_default="link"
> +        ld_default=`cygpath -d "\`which cl.exe | sed 
> "s/cl.exe/link.exe/g"\`"`
>          nm_default="dumpbin -symbols"
>          ar_default="lib"
>          target_os_default="win32"
> --

$ cygpath
sh: cygpath: command not found

Personally I feel like having an environment where link.exe in path is
not the msvc link.exe is a wrongly-setup environment anyway.
I've never had the problem, and i can't say i had to actively "hack"
anything. Just use one of the msvc bat files to setup the env (which
ship with msvc), and then use sh.exe to go into a msys shell.

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

Reply via email to