[FFmpeg-devel] [RFC][PATCH] Allow include files to be installed into subdirectory

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Aug 13 20:48:33 CEST 2014


On 12.08.2014, at 02:21, Ivan Kalvachev <ikalvachev at gmail.com> wrote:
> It would be decided by the gcc -I inclusion option.
> It modifies the search paths for header files, so that it checks these
> paths before the system/default ones (When using `#include
> "libavcodec/avcodec.h" `)
> 
> Libav headers are probably going to remain in the default /usr/include/ .
> Usually this should not be a problem, unless a program uses `#include
> <libavcodec/avcodec.h> ` that should be used for system headers (aka
> checks the system/default paths first).

Huh? The only difference between "" and <> is that "" also searches relative to the file's directory (and that first).
-I applies equally to all.
Anyone adding -I/usr/include explicitly deserves some beating.


More information about the ffmpeg-devel mailing list