Please help explain #include <> non system file

Allan McRae allan at archlinux.org
Sat Nov 6 07:18:57 UTC 2021


On 5/11/21 09:21, Budi wrote:
> Please help explain on pacman source code ready on home repo
> In pacman directory it has some #include <> non system file e.g.
> #include <alpm.h>
> 
> Why should it be that path why not it refes to this local pacman code
> project e.g.
> 
> #include <../lib/libalpm/>
> 
> Is it different or is actually function the same ?
> it's so confusing,  please help out!
> 

libalpm is built first.  Then it is treated as a system library (via 
adding relevant flags) when building pacman.

A



More information about the pacman-dev mailing list