[PATCH] Link "libvarnishapi" against "libvarnish".
varnish at octo.it
Thu Jun 10 12:17:37 CEST 2010
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.
Florian octo Forster
Hacker in training
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the varnish-dev