Ross Burton via lists.openembedded.org schrieb am Do 23. Jul, 20:37 (+0100): > The libgit2 cmake rules generate a .cmake file that tells people linking > to libgit2 how to link. This includes the complete path to each of the > libraries that libgit2 links, such as /path/to/sysroot/usr/lib/libssl.so. > > The build paths were previously removed with a quick sed, but this breaks > builds where those target paths exist on the build host as they get used > verbatim. > > However, all of this linkage is redundant as the library directly links > to these libraries. Mark the linkage as private, so the references do > not appear in the .cmake files. > > [ YOCTO #16373 ] > > Signed-off-by: Ross Burton <[email protected]> > --- > ...m-libraries-are-private-link-librari.patch | 42 +++++++++++++++++++ > meta/recipes-support/libgit2/libgit2_1.9.4.bb | 8 ++-- > 2 files changed, 45 insertions(+), 5 deletions(-) > create mode 100644 > meta/recipes-support/libgit2/files/0001-cmake-mark-system-libraries-are-private-link-librari.patch > > diff --git > a/meta/recipes-support/libgit2/files/0001-cmake-mark-system-libraries-are-private-link-librari.patch > > b/meta/recipes-support/libgit2/files/0001-cmake-mark-system-libraries-are-private-link-librari.patch > new file mode 100644 > index 00000000000..267770ae6fe > --- /dev/null > +++ > b/meta/recipes-support/libgit2/files/0001-cmake-mark-system-libraries-are-private-link-librari.patch > @@ -0,0 +1,42 @@ > +From 5670d3eed82f0d64766158809bf3d0c7c631b0ea Mon Sep 17 00:00:00 2001 > +From: Ross Burton <[email protected]> > +Date: Thu, 23 Jul 2026 17:35:23 +0100 > +Subject: [PATCH] cmake: mark system libraries are private link libraries > + > +When generating libgit2Targets.cmake, mark the system libraries that > +libgit2.so links to as private, as the don't not need to be seen by
I think this should be “as they do not need” > +applications that link to libgit2. > + Jörg -- Navimatix GmbH T: 03641 - 327 99 0 Tatzendpromenade 2 F: 03641 - 526 306 07745 Jena www.navimatix.de Geschäftsführer: Steffen Späthe, Jan Rommeley Registergericht: Amtsgericht Jena, HRB 501480
smime.p7s
Description: S/MIME cryptographic signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#241869): https://lists.openembedded.org/g/openembedded-core/message/241869 Mute This Topic: https://lists.openembedded.org/mt/120416137/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
