[PATCH 1/2] Move all libs but libvarnishapi to a private directory, drop soname number

Tollef Fog Heen tfheen at varnish-software.com
Tue Feb 22 10:22:28 CET 2011


As we don't want anybody linking against libvarnish, libvcl and the
other libraries, move those to pkglibdir.  In addition, to further
emphasize that they do not have a stable ABI, drop the version from
the soname.
---
 lib/libvarnish/Makefile.am       |    4 ++--
 lib/libvarnishcompat/Makefile.am |    4 ++--
 lib/libvcl/Makefile.am           |    4 ++--
 lib/libvgz/Makefile.am           |    4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/libvarnish/Makefile.am b/lib/libvarnish/Makefile.am
index 9d1056c..dcec5e1 100644
--- a/lib/libvarnish/Makefile.am
+++ b/lib/libvarnish/Makefile.am
@@ -2,9 +2,9 @@
 
 INCLUDES = -I$(top_srcdir)/include @PCRE_CFLAGS@
 
-lib_LTLIBRARIES = libvarnish.la
+pkglib_LTLIBRARIES = libvarnish.la
 
-libvarnish_la_LDFLAGS = -version-info 1:0:0
+libvarnish_la_LDFLAGS = -avoid-version
 
 libvarnish_la_SOURCES = \
 	argv.c \
diff --git a/lib/libvarnishcompat/Makefile.am b/lib/libvarnishcompat/Makefile.am
index 76d4986..f5b363e 100644
--- a/lib/libvarnishcompat/Makefile.am
+++ b/lib/libvarnishcompat/Makefile.am
@@ -2,9 +2,9 @@
 
 INCLUDES = -I$(top_srcdir)/include
 
-lib_LTLIBRARIES = libvarnishcompat.la
+pkglib_LTLIBRARIES = libvarnishcompat.la
 
-libvarnishcompat_la_LDFLAGS = -version-info 1:0:0
+libvarnishcompat_la_LDFLAGS = -avoid-version
 
 libvarnishcompat_la_SOURCES = \
 	daemon.c \
diff --git a/lib/libvcl/Makefile.am b/lib/libvcl/Makefile.am
index aab8749..c594885 100644
--- a/lib/libvcl/Makefile.am
+++ b/lib/libvcl/Makefile.am
@@ -2,9 +2,9 @@
 
 INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
 
-lib_LTLIBRARIES = libvcl.la
+pkglib_LTLIBRARIES = libvcl.la
 
-libvcl_la_LDFLAGS = -version-info 1:0:0
+libvcl_la_LDFLAGS = -avoid-version
 
 libvcl_la_SOURCES = \
 	vcc_priv.h \
diff --git a/lib/libvgz/Makefile.am b/lib/libvgz/Makefile.am
index ab9b561..a00e22b 100644
--- a/lib/libvgz/Makefile.am
+++ b/lib/libvgz/Makefile.am
@@ -1,8 +1,8 @@
 # $Id$
 
-lib_LTLIBRARIES = libvgz.la
+pkglib_LTLIBRARIES = libvgz.la
 
-libvgz_la_LDFLAGS = -version-info 1:0:0
+libvgz_la_LDFLAGS = -avoid-version
 libvgz_la_CFLAGS = -D_LARGEFILE64_SOURCE=1 $(libvgz_extra_cflags)
 
 libvgz_la_SOURCES = \
-- 
1.7.2.3





More information about the varnish-dev mailing list