Currently, the MONA GTA library is linked to the liblydia.a library. Such dependency is not actually needed to compile the Lydia library, and therefore should be removed.
Thanks to @Shufang-Zhu that reported the problem, as in its platform the building gives an error regarding the linking to libmonagta.so.