Igor Gnatenko wrote on Sun, Aug 12, 2018 at 10:46:34PM +0200:
> I've submitted
> https://fedoraproject.org/wiki/Changes/Stop_pulling_dependencies_for_static_libraries
> to improve the situation.

I've posted on the other overlinking thread about pkgconfig and got
corrected that Requires.private is not just for static linking.


Short version:
 Requires = pulls in link and cflags (include paths etc)
 Requires.private = pulls in cflags and (libs if --static)
 Requires.internal = pulls in libs only with --static


Long version can be found in this freedesktop bug:
https://bugs.freedesktop.org/show_bug.cgi?id=105572

(We, fedora, use pkgconf that already has this implemented in 1.5.0 that
is in f29/rawhide; the original freedesktop pkgconfig has not yet but
would seem to agree on principle)



So going by the same rule, Requires.private means headers from these
libs can be used... and headers are in -devel packages, so they would
need to be pulled as they currently are.

-- 
Dominique Martinet
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AGIYXJYHNBOWARINON4LK2X3SU6CQQBE/

Reply via email to