Do not check for Requires.private unless --static requested #126
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
There was bug in Fedora in libselinux package which has
libpcre
inRequires.private
. so libpcre.pc didn't exist on my system and when I was asking forpkg-config --cflags libpcre
it was saying thatlibpcre.pc
doesn't exist.. But pkgconf should not care because I didn't ask for static build.This is intentional.
In almost all cases, headers belonging to
Requires.private
are referenced indirectly. So we need to ensure the dependency is satisfied to compile.The only case where
Requires
andRequires.private
should be differently handled is linking, which pkgconf correctly follows.@kaniini but there is
Cflags.private
where people should set their private includedirs..!@ignatenkobrain,
Cflags.private
isn't available inpkg-config
.Cflags.private
isn't about dependency management either, it's to provide things like-DCOMPILE_STATIC
for example.