Fathi Boudra <[email protected]> escreveu (terça, 9/04/2024 à(s)
11:09):

> Hi José,
>
> On Tue, 9 Apr 2024 at 12:00, Jose Quaresma <[email protected]>
> 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.
>

Ok, understand.
My suggestion was mainly because I saw several patches on the Khem branch.
Thanks for the clarification.


> 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.
>

Seems like a good plan but I didn't find references about this problem on
the musl mailing list.

-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109879): 
https://lists.openembedded.org/g/openembedded-devel/message/109879
Mute This Topic: https://lists.openembedded.org/mt/105417917/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to