Cflags arguments which use a variable will not appear unless a non-whitespace character follows the variable: Current state (egl.pc): "Cflags: -I${includedir}" $ pkg-config egl --cflags -I/usr/include/libdrm Proposed state (egl.pc): "Cflags: -I${includedir}/" $ pkg-config egl --cflags -I/usr/include/ -I/usr/include/libdrm
(In reply to comment #0) > Cflags arguments which use a variable will not appear unless a > non-whitespace character follows the variable: > > Current state (egl.pc): > "Cflags: -I${includedir}" > > $ pkg-config egl --cflags > -I/usr/include/libdrm This is intentional. /usr/include is a system header location. pkg-config suppresses these on purpose since adding system paths too early in the compiler command can cause problems. You can make pkg-config print the system paths by setting the environment variables PKG_CONFIG_ALLOW_SYSTEM_CFLAGS and PKG_CONFIG_ALLOW_SYSTEM_LIBS to a non-empty value. See pkg-config(1).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.