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

Michael Niedermayer michael at niedermayer.cc
Wed Jan 27 12:09:33 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.
> 
> Best regards,
> Andreas
> 

>  configure |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 1edecc11203a53b6dfa3f9816583b7bceb6b6491  0001-configure-fall-back-to-using-full-path-if-src-is-a-d.patch
> From 72b2b0c9533d96b778be4c96a418b22075f1d39a Mon Sep 17 00:00:00 2001
> From: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> Date: Tue, 26 Jan 2016 22:54:01 +0100
> Subject: [PATCH] configure: fall back to using full path if src is a directory
> 
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>

also this fails too:
 ./configure && make distclean

rm: cannot remove `src': Is a directory
make: *** [distclean] Error 1

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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/052c176f/attachment.sig>


More information about the ffmpeg-devel mailing list