Due to static linking, not all functions will be included in the executable
and therefore some simple "hello world"  binaries will not need
sysprof-capture-static. However, anything that used the .pc file will need
it.

Technically, you could also use glib's static library without dependent .a
libraries if you link with glib's .a file but do not specify -static; but
that's not a good argument against having a Requires for the dependency in
my opinion, because it makes the .pc file not work out of the box. Perhaps
a weak dependency, but even that sounds strange.

As to glibc-static I think it's fair to say that whoever uses -static will
have to install it on their own, so it can be left out of glib2.spec.

Paolo


Il mar 26 lug 2022, 10:59 Daniel P. Berrangé <berra...@redhat.com> ha
scritto:

> Although listed in glib-2.0.pc, I didn't find any need for the
> sysprof-capture-static package, but it does need glibc-static
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to