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

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Mon Jan 25 02:34:32 CET 2016


On 24.01.2016 22:57, Hendrik Leppkes wrote:
> While links are in theory a good idea, creating directory links on
> windows requires elevated privileges. Don't ask me why, I don't know,
> but that makes this unfortunately impractical.
> Copying files around between different physical media is not a
> solution, but an ugly hack and a build performance regression. See
> earlier point about re-opening the review phase of this change to
> discuss such "solutions".

Oh well, MSVC just doesn't want this to work...

Then let's do it the other way around: create a link from the destination
path to the source path.
If that link can be created, it can be used as relative path and otherwise
one can still use the full source path.

Attached is a patch implementing this.
It should not be possible that this breaks anywhere.

Feel free to apply this if it makes MSVC builds work again.

Best regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-use-a-link-instead-of-changing-current-directo.patch
Type: text/x-diff
Size: 4521 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160125/11a902d4/attachment.patch>


More information about the ffmpeg-devel mailing list