On Wed, 2024-06-26 at 13:41 +0100, Richard Purdie via lists.openembedded.org wrote: > On Wed, 2024-06-26 at 10:07 +0100, Sreejith Ravi wrote: > > No, static libraries were not enabled. I am using only the -dev > > IPK, > > which has only the shared libraries. With this change, it is > > successfully building. Also, if it links to the static library, it > > will fail as I am not installing the static IPK. > > > > In the latest pkgconf commit, it looks like Requires.private is > > needed for header inclusion also: > > https://github.com/pkgconf/pkgconf/commit/2d26db3a984e7a69cedc6274c22119de4bcf1b40 > > We standardised on and use pkgconfig which does say Requires.private > is > for static linking. > > If pkg-conf wants to change the "standard" I really wish they'd use a > different file extension so we didn't have two incompatible > implementations :( > > I'm reluctant to try and mix both tools since they behave differently > and one form will end up being broken. > > We should mention to them this change of behaviour makes the > compatibility situation worse.
I did more investigation on this one including looking at the pkg- config guide from freedesktop: https://people.freedesktop.org/~dbn/pkg-config-guide.html I suspect you're probably right that this is needed for headers usage. It is worth noting that change is just fixing documentation so this could well have been the case for a long time. It all is a bit unclear but we should probably take the patch assuming it passes testing. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#201162): https://lists.openembedded.org/g/openembedded-core/message/201162 Mute This Topic: https://lists.openembedded.org/mt/106876780/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
