[FFmpeg-devel] [libav-devel] [PATCH] [RFC] use a wrapper script to call MS link.exe to avoid mixing with /usr/bin/link.exe
Derek Buitenhuis
derek.buitenhuis at gmail.com
Thu Jul 23 19:05:04 CEST 2015
On 7/23/2015 6:02 PM, Derek Buitenhuis wrote:
> On 7/23/2015 5:41 PM, Steve Lhomme wrote:
Looping in the other list, cause I forgot.
>> --
>> favor link over link.exe in case some wrapper script already exists
>> fallback to "link" in the path if the one next to cl is not found
>> ---
>> configure | 2 +-
>> tools/mslink.sh | 9 +++++++++
>
> Should be under compat.
>
>> diff --git a/tools/mslink.sh b/tools/mslink.sh
>> new file mode 100644
>
> Broken permissions.
>
> Can do without the .sh extension (see for example, makedef).
>
>> index 0000000..6f0d98f
>> --- /dev/null
>> +++ b/tools/mslink.sh
>> @@ -0,0 +1,9 @@
>> +#!/bin/sh
>> +
>> +LINK_EXE_PATH=$(dirname "`command -v cl`")/link
>
> Be consistent with the usage of $().
>
> The idea itself seems reasonable.
>
> - Derek
>
More information about the ffmpeg-devel
mailing list