build: Add a comment to libbsd-overlay.pc about -isystem usage

Add the reasoning for why we use -isystem instead of -I, to avoid
confusing unsuspecting readers of the file.

Prompted-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Guillem Jover 2024-02-28 04:44:02 +01:00
parent 08188f3c13
commit b6ccd03201

View File

@ -9,4 +9,5 @@ Version: @VERSION@
URL: https://libbsd.freedesktop.org/
Libs: -L${libdir} -lbsd
Libs.private: @LIBBSD_LIBS@ @MD5_LIBS@
# We use -isystem instead of -I due the overlay via #include_next usage.
Cflags: -isystem ${includedir}/bsd -DLIBBSD_OVERLAY