I've been trying to build PDFium for Android for several days with no success. I should follow this script which configures it for my project.
Everything works perfectly until the last step, it gives the following error:
ld.lld: error: unable to find library -latomic
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
I tried to do everything I could think of, but nothing worked. Does anyone know how to solve this issue?