On Fri, 2024-05-31 at 06:40 -0700, Hanke Fabian (DC/PAR) via lists.yoctoproject.org wrote: > Hello, > > thank you for all the responses so far. I guess we will have a look > at fossology and fossas, but we would prefer a solution which does > not require an additional thirdparty service. We know that there are > different types of GPL licenses which bring different obligations. > > We are searching for an automatic mechanism to detect linking to a > shared library from a GPL package. We thought there might be a way to > utilize the build system’s shared library resolver which is used for > the automatic runtime added runtime dependencies [1]. > > For static libraries we found that they are disabled by default [2]. > > [1] > https://docs.yoctoproject.org/overview-manual/concepts.html#automatically-added-runtime-dependencies > [2] > https://docs.yoctoproject.org/dev/dev-manual/licenses.html#compliance-limitations-with-executables-built-from-static-libraries
It can definitely be done and we have a lot of the information there. Our packaging code does already look at linking as you mention. Nobody has proposed a solution that could be merged to OE-Core though. I'd love to see one. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63248): https://lists.yoctoproject.org/g/yocto/message/63248 Mute This Topic: https://lists.yoctoproject.org/mt/106365537/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-