Hi José, On Tue, 9 Apr 2024 at 12:00, Jose Quaresma <quaresma.j...@gmail.com> wrote: > Hi Fathi, > > Maybe just the #include <libgen.h> can do the job. > > It includes the posix implementation of the basename > https://man7.org/linux/man-pages/man0/libgen.h.0p.html > > Added the same comment on the github PR. > > Jose
I tried it initially. It looks like we need to use the gnu implementation in this case, not the posix one (including libgen.h won't be enough). Hence, I ended to propose the approach used in kmod. Though, as many projects are affected and we can find several patches floating around to fix the musl basename function changes, I wonder if we should go down the road to include a stub in musl. I think that's what alpine proposed at some point.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109878): https://lists.openembedded.org/g/openembedded-devel/message/109878 Mute This Topic: https://lists.openembedded.org/mt/105417917/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-