I am building a c++ program using automake. It uses many libraries, that I want to dynamically link.
There is, hovewere, a single library that I want to link statically. I am not building this library, I have a .a file provided by third party that I want to use.
Is there an easy way, in configure.ac or Makefile.am, to specify that this library must be linked statically, leaving the normal dynamic linking behaviour unchanged for all other libraries ?