[FFmpeg-devel] [PATCH] build: fix make checkheaders in out-of-tree builds

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Jan 25 20:07:52 CET 2016


On 25.01.2016 11:01, Hendrik Leppkes wrote:
> msys doesn't seem to like creating directory symlinks with ln -s, for
> some reason it copies the folder instead, which is of course terribly
> slow.

There is a fast configure check, which I added to prevent actually
creating the link to the source directory, if it wouldn't be a real
link, but a copy instead.
Does that check not work for you?
It works here: After replacing '$ln_s "$link_dest" "$link_name"'
with 'cp -r "$link_dest" "$link_name"' it doesn't create the src
link and falls back to using the full path instead.

> Could try to use the windows link creating function, but thats
> probably too much trouble.

That would be easy, if you can tell me which command that is and
in which environment it should work.

> If we already have a way to fallback to the "old way", maybe this
> could be put under a OS conditional, ie. exclude msys/cygwin?

That could be done, but I don't think it is necessary, as the
current check should already be sufficient.

Best regards,
Andreas



More information about the ffmpeg-devel mailing list