[PATCH] Link "libvarnishapi" against "libvarnish".

Florian Forster varnish at octo.it
Thu Jun 10 12:17:37 CEST 2010


Hi,

On Tue, Jun 08, 2010 at 08:56:37PM +0000, Poul-Henning Kamp wrote:
> Actually I'm trying to uravel that issue right now in -trunk
> libvarnishapi shall not link against libvarnish, the entire point of
> having a separate lib for the exposed API would be lost.

after your changes the library has the missing "VRE_compile" and
"VRE_exec" symbols and is also correctly linked with libpcre. Thanks for
fixing this :)

However, I now run into the problem that "pthread_once" cannot be
resolved. Oddly enough, "pthread_mutex_*" are resolved correctly. I'm
assuming some GNU libc oddity here.

The attached patch fixed the problem for me by adding "@PTHREAD_LIBS@"
to the pkg-config file for libvarnishapi.

Regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.varnish-cache.org/pipermail/varnish-dev/attachments/20100610/4544bc7a/attachment.pgp>


More information about the varnish-dev mailing list