[PATCH 2/2] Drop version from libvmod_std
Tollef Fog Heen
tfheen at varnish-software.com
Tue Feb 22 10:22:29 CET 2011
There is no reason for libvmod_std to have a version number, so drop
it and adjust test cases accordingly.
---
bin/varnishtest/tests/m00000.vtc | 2 +-
bin/varnishtest/tests/m00001.vtc | 2 +-
bin/varnishtest/tests/m00002.vtc | 2 +-
lib/libvcl/vcc_vmod.c | 2 +-
lib/libvmod_std/Makefile.am | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/varnishtest/tests/m00000.vtc b/bin/varnishtest/tests/m00000.vtc
index e44dbb2..c73a52e 100644
--- a/bin/varnishtest/tests/m00000.vtc
+++ b/bin/varnishtest/tests/m00000.vtc
@@ -8,7 +8,7 @@ server s1 {
} -start
varnish v1 -vcl+backend {
- import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so.1" ;
+ import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
sub vcl_deliver {
set resp.http.foo = std.toupper(resp.http.foo);
diff --git a/bin/varnishtest/tests/m00001.vtc b/bin/varnishtest/tests/m00001.vtc
index f65dcbd..e8b11cf 100644
--- a/bin/varnishtest/tests/m00001.vtc
+++ b/bin/varnishtest/tests/m00001.vtc
@@ -8,7 +8,7 @@ server s1 {
} -start
varnish v1 -arg "-pthread_pools=1" -vcl+backend {
- import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so.1" ;
+ import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
sub vcl_deliver {
set resp.http.foo = std.toupper(resp.http.foo);
diff --git a/bin/varnishtest/tests/m00002.vtc b/bin/varnishtest/tests/m00002.vtc
index 8b5fd16..a6193ad 100644
--- a/bin/varnishtest/tests/m00002.vtc
+++ b/bin/varnishtest/tests/m00002.vtc
@@ -11,7 +11,7 @@ server s1 {
} -start
varnish v1 -vcl+backend {
- import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so.1" ;
+ import std from "${topbuild}/lib/libvmod_std/.libs/libvmod_std.so" ;
sub vcl_fetch {
set beresp.http.rnd1 = std.random(0,1);
diff --git a/lib/libvcl/vcc_vmod.c b/lib/libvcl/vcc_vmod.c
index 8e679fb..45fe1cd 100644
--- a/lib/libvcl/vcc_vmod.c
+++ b/lib/libvcl/vcc_vmod.c
@@ -98,7 +98,7 @@ vcc_ParseImport(struct vcc *tl)
bprintf(fn, "%s", tl->t->dec);
vcc_NextToken(tl);
} else {
- bprintf(fn, "%s/libvmod_%.*s.so.1", tl->vmod_dir, PF(mod));
+ bprintf(fn, "%s/libvmod_%.*s.so", tl->vmod_dir, PF(mod));
}
Fh(tl, 0, "static void *VGC_vmod_%.*s;\n", PF(mod));
diff --git a/lib/libvmod_std/Makefile.am b/lib/libvmod_std/Makefile.am
index 36147fe..5437c02 100644
--- a/lib/libvmod_std/Makefile.am
+++ b/lib/libvmod_std/Makefile.am
@@ -5,7 +5,7 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include
vmoddir = $(pkglibdir)/vmods
vmod_LTLIBRARIES = libvmod_std.la
-libvmod_std_la_LDFLAGS = -version-info 1:0:0
+libvmod_std_la_LDFLAGS = -avoid-version
libvmod_std_la_SOURCES = \
vcc_if.c \
--
1.7.2.3
More information about the varnish-dev
mailing list