On Tue, Jul 21, 2015 at 4:46 PM, Martin Storsjö <[email protected]> wrote: > On Tue, 21 Jul 2015, Steve Lhomme wrote: > >> 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 | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > > So this still requires you to hack your environment? I'd rather skip the > workaround if it requires you to have a nonstandard environment setup...
link in msys should be called without the exe all the time. So it's a very minor tweak. Compared to messing with the PATH order, as suggested. > If possible, just make sure that the VC paths are earlier in the path than > /usr/bin. No, that is wrong. msys_shell.bat puts all the Msys env before whatever was in PATH. And you don't want all kinds of things in your PATH messing with msys. Nor rewrite the pathes to VS tools manually. > // Martin > _______________________________________________ > libav-devel mailing list > [email protected] > https://lists.libav.org/mailman/listinfo/libav-devel _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
