[FFmpeg-devel] [FFmpeg-cvslog] build: use a link instead of changing current directory when compiling

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Jan 26 23:07:43 CET 2016


On 26.01.2016 21:28, Michael Niedermayer wrote:
> On Mon, Jan 25, 2016 at 08:51:32PM +0100, Andreas Cadhalpun wrote:
>> ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Mon Jan 25 01:42:23 2016 +0100| [b46aae093634271931395d65f422f4b2a23112d3] | committer: Andreas Cadhalpun
>>
>> build: use a link instead of changing current directory when compiling
>>
>> If links don't work, fall back to using the full source path as was
>> previously done.
>>
>> This should fix build failures with MSVC.
>>
>> Reviewed-by: Hendrik Leppkes <h.leppkes at gmail.com>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>>
>>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b46aae093634271931395d65f422f4b2a23112d3
>> ---
> 
> if you have a "src" directory this results in:
> ./configure
> rm: cannot remove `src': Is a directory
> ln: `src/.': cannot overwrite directory

I guess you'd like to keep the src directory in that case.
Attached is a patch falling back to using the full path then.

Best regards,
Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-fall-back-to-using-full-path-if-src-is-a-d.patch
Type: text/x-diff
Size: 835 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160126/b455156a/attachment.patch>


More information about the ffmpeg-devel mailing list