On Thu, May 3, 2012 at 2:50 PM, Tor Lillqvist <tml at iki.fi> wrote: > But how can one in the module where something links to this library > know if it has been built in debug mode or not? Then a better option is probably to change the static library name to always be libpq.lib in all cases. -- Jesús Corrius <jesus at softcatala.org>