[squid-users] Editing Makefile.am to include static libraries

Amos Jeffries squid3 at treenet.co.nz
Wed Mar 25 11:02:33 UTC 2015

On 25/03/2015 11:26 p.m., Priya Agarwal wrote:
> I could link the libraries. The problem was that libraries were C and thus
> g++ wasn't creating right symbols.

.h files fro C libraries need to contain the syntax:

#if defined(__cplusplus)
extern "C" {

  ... library API ...

#if defined(__cplusplus)

> I have another question.
> what part of the source code handles shutdown or exiting (ctrl+c).



More information about the squid-users mailing list