[FFmpeg-devel] [PATCH] build: fix make checkheaders in out-of-tree builds
andreas.cadhalpun at googlemail.com
Sun Jan 24 19:27:18 CET 2016
On 24.01.2016 17:14, Henrik Gramner wrote:
> On Sun, Jan 24, 2016 at 5:02 PM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
>> Windows doesn't particularly care which slash direction you give it,
>> so no, that changes nothing. I'm not quite sure why it fails with the
>> include path this way, maybe some msys shenanigans.
>> For fun and giggles, I hard-coded the correct include path in the
>> common.mak file and that made config.h show up again of course, but
>> the good old compiler error came back just like before.
>> Might be msys thats interfering here and translating something it
>> shouldn't, or double-translating something, I can't really tell just
>> from the commands it calls.
>> Like I said before, when initial MSVC support was build by Ronald and
>> Martin, there were lots of troubles with absolute paths, which in the
>> end were solved by not using them (sorry, no answers here).
I have a hard time believing that there are environments, where one
can't use absolute paths...
> Is there any reason why we're using absolute paths then?
It is what $(pwd) gives us.
> Can't we just stick to relative paths with forward slashes since
> they seem to work with all tools?
OK, let's try this.
Attached is a patch calculating dst_path as relative path.
That should hopefully work everywhere. Please test it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3356 bytes
Desc: not available
More information about the ffmpeg-devel