[master] f394d25 Build vmods as shared objects only
Tollef Fog Heen
tfheen at varnish-cache.org
Thu Jan 24 11:10:41 CET 2013
commit f394d25d75975cc1bf25a1612bf821cb294e0da7
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Thu Jan 24 10:53:13 2013 +0100
Build vmods as shared objects only
It does not make any kind of sense to build a vmod as a static
library, so tell libtool to only build a shared one.
diff --git a/lib/libvmod_debug/Makefile.am b/lib/libvmod_debug/Makefile.am
index c77a9da..25b3f3f 100644
--- a/lib/libvmod_debug/Makefile.am
+++ b/lib/libvmod_debug/Makefile.am
@@ -11,7 +11,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_debug
vmodtool = $(top_srcdir)/lib/libvcl/vmodtool.py
noinst_LTLIBRARIES = libvmod_debug.la
-libvmod_debug_la_LDFLAGS = $(AM_LDFLAGS) -module -export-dynamic -avoid-version -rpath /nowhere
+libvmod_debug_la_LDFLAGS = $(AM_LDFLAGS) -module -export-dynamic -avoid-version -shared -rpath /nowhere
libvmod_debug_la_SOURCES = \
vmod_debug.c
diff --git a/lib/libvmod_std/Makefile.am b/lib/libvmod_std/Makefile.am
index 59648e8..acc0842 100644
--- a/lib/libvmod_std/Makefile.am
+++ b/lib/libvmod_std/Makefile.am
@@ -14,7 +14,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_std
vmodtool = $(top_srcdir)/lib/libvcl/vmodtool.py
vmod_LTLIBRARIES = libvmod_std.la
-libvmod_std_la_LDFLAGS = $(AM_LDFLAGS) -module -export-dynamic -avoid-version
+libvmod_std_la_LDFLAGS = $(AM_LDFLAGS) -module -export-dynamic -avoid-version -shared
libvmod_std_la_SOURCES = \
vmod_std.c \
More information about the varnish-commit
mailing list