collectd/collectd — pull request #130 by JonathanHuot (2012-09-13 16:38:23+00:00)
Title: fixed link of varnish.so module when --with-varnishlib is used

Module varnish.so need to be linked to libvarnishapi.so only.

However, depending if you use the ./configure --with-varnishlib option, you'll get two more libs linked to varnish.so : libvarnish.so and libvarnishcompat.so; but they must be used only for varnishd binary.
If you're not using this --with-varnishlib option, the varnish.so will be correctly linked only to libvarnishapi.so (thanks to pkg-config)