>
> No, but you can change the code in main.c function toy_find() currently
> line 33.


Awesome, I'll try that, thanks!

On Fri, Feb 21, 2020 at 11:35 AM Rob Landley <[email protected]> wrote:

> On 2/21/20 1:56 AM, darken wrote:
> > Thanks for the quick response Rob!
> >
> >     n -s $(which toybox) strawberry-toybox
> >     ./strawberry-toybox
> >
> > The created symlink would be a file outside the read-only app resources,
> so I
> > can't execute that on Android 10+.
> > And Android 5,6,7 doesn't extract any resources from the APK that not
> starting
> > with "lib" and ending with ".so".
>
> That's an android issue, not a toybox issue.
>
> >      When toybox doesn't recognize the name, it'll dereference one level
> of symlinks
> >
> >     to try to find a name it does recognize.
> >
> >
> > Is there a config setting I could change to make a build where toybox
> recognizes
> > alternative names
> > or to just change the name it's looking for to "libtoybox.so"?
>
> No, but you can change the code in main.c function toy_find() currently
> line 33.
>
> > ~Matthias
>
> Rob
>
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to