Undefined reference to glob/globfree in Android
Android builds are failing with
src/lib/fs/path.c:593: error: undefined reference to 'glob'
src/lib/fs/path.c:610: error: undefined reference to 'globfree'
src/lib/fs/path.c:593: error: undefined reference to 'glob'
src/lib/fs/path.c:610: error: undefined reference to 'globfree'
the usage of which was introduced in #25140 (closed). According to discussions https://groups.google.com/forum/#!topic/android-ndk/vSH6MWPD0Vk and https://github.com/android/ndk/issues/718 (probably others too), it looks like it requires API level 28 (although I'm not sure that is actually the cause of these concrete errors).