On 03/05/12 14:50, Tor Lillqvist 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? looks like this should not depend on $(debug) but instead on --enable-dbgutil, which is intended for such cases (see stlport, msvc runtime, ...).