This is a problem with the clang.exe process that is trying to link libraries. Please note: there is no need to modify the ld.exe file, as in the installation instructions, from the link in the question.
Fixed: you need to change two files to one architecture in the GStreamer directory so that the linker gets the name gold.exe , and not gold .
For each architecture you are interested in, you need to go over (using arm64 as an example):
1) path\to\Gstreamer\root\arm64\share\gst-android\ndk-build\gstreamer-1.0.mk and change -fuse-ld=gold to -fuse-ld=gold.exe (it appears only once in file).
Now go to:
2) path\to\Gstreamer\root\arm64\include\gmp.h and change -fuse-ld=gold to -fuse-ld=gold.exe (again, only one occurrence).
Some minor corrections have been made to my published Android.mk and gradle files to fully compile things, but this is beyond the scope of this question (added -llog to local ldlib and uses only the main plugin).
source share