On Thu, 2023-09-07 at 13:45 +0200, Alexander Kanavin wrote: > On Thu, 7 Sept 2023 at 13:18, Richard Purdie > <[email protected]> wrote: > > Crazy idea - can we statically link the shadow-native binaries? > > Not impossible, but needs a bit of work - libbsd, libattr and libmd > all need to be made available in static versions (via resetting > DISABLE_STATIC), and shadow convinced to use them by injecting -static > into the linker flags at appropriate places. There's no precedent for > this in core that I've seen.
See meta/conf/distro/include/no-static-libs.inc which does things like: meta/conf/distro/include/no-static-libs.inc:DISABLE_STATIC:pn-openssl-native = "" meta/conf/distro/include/no-static-libs.inc:DISABLE_STATIC:pn-nativesdk-openssl = "" I wasn't sure how easy the shadow patch would be, that is hopefully the main tricky part. sqlite-native used to be built allowing static for pseudo iirc but I don't think we need to do that there any more. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#187383): https://lists.openembedded.org/g/openembedded-core/message/187383 Mute This Topic: https://lists.openembedded.org/mt/101197363/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
