Android C++ demo with android-ndk r21d and Pytorch 1.11

Has anyone tried (with latest Pytorch 1.11) to run the build_android.sh script as found in this repo?

I am running into issues getting this to build and wondering if others have run into problems.
More specifically, I seem to be getting a linker error in the demo application after the Pytorch libraries get built:
/opt/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld: fatal error: -f/–auxiliary may not be used without -shared
clang++: error: linker command failed with exit code 1 (use -v to see invocation)