Building GnuPG from source

I noticed the inportant Security advisory T8211 for Libgcrypt (2026-04-21) report on the front page and my libgcrypt package is lagging behind. I would need to rebuild the source in order to update because my build is the latest from Termux repos. I glanced at the source download page and see two options with libs and without libs. Can somebody clarify if the libs are a dependency built only for the app or are these shared libs, and does the without libs source contain the necessities in the code without using libs? I would be looking to build everything necessary into the code, a self contained program, without relying on shared libs.