Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 1.71 KB

ReadMe.md

File metadata and controls

19 lines (12 loc) · 1.71 KB

Implementation of glob available to be used for old Android phones

glob is officially supported on Android since Pie (Android 9, API Level 28).

It prevents some apps from being built for Android.

Fortunately, [FreeBSD(https://github.com/freebsd/freebsd) has an impl of glob and Google has adopted it for its Bionic library. I have just adapted the parts of FreeBSD and Bionic and some functions from libbsd to create a library that can be added to software in order to allow it to be compiled for pre-Pie versions of Android.

More precisely:

This is only for ARMv7. I have inlined some pieces of needed files from FreeBSD source instead of bringing whole includes. If you need to compile to other archs, you should replace all the code related to atomics to the code from the needed arch from FreeBSD source.

So the license of this is BSD-2-Clause-FreeBSD AND BSD-3-Clause AND ISC.