Dominique Martinet wrote:

> Karel Zak wrote on Wed, Aug 01, 2018 at 01:17:29PM +0200:
>> Well, --as-needed is workaround and nothing else. The real problem is
>> mess in makefiles and .pc (pkg-config) files.
>> 
>> It would be better to use --as-needed for testing purpose only, and
>> ask maintainers why the result with --as-needed is different.
> 
> Wearing a lib developer hat, I don't see how you can make a .pc that
> doesn't overlink if you provide something a bit entangled with other
> libs.
> The problem is that if your headers use any sub-lib type you need to add
> that lib in Requires: so that --cflags will pull that lib's include
> path;

That's what Requires.private is for

-- Rex
_______________________________________________
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/BRI4JJWM5BOM2IH24EUFYYGADRZNIBXX/

Reply via email to