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

Michael Niedermayer michael at niedermayer.cc
Wed Jan 27 02:16:05 CET 2016


On Tue, Jan 26, 2016 at 11:07:43PM +0100, Andreas Cadhalpun wrote:
> 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.

well, not sure what is best, i already deleted the directory
it could mess up greping too depending on how one does it
the patch is fine, iam also fine if no change or another change is
pushed

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160127/e6eb71e3/attachment.sig>


More information about the ffmpeg-devel mailing list