Commit f394d25d authored by Tollef Fog Heen's avatar Tollef Fog Heen

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.
parent b54c7f6d
...@@ -11,7 +11,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_debug ...@@ -11,7 +11,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_debug
vmodtool = $(top_srcdir)/lib/libvcl/vmodtool.py vmodtool = $(top_srcdir)/lib/libvcl/vmodtool.py
noinst_LTLIBRARIES = libvmod_debug.la 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 = \ libvmod_debug_la_SOURCES = \
vmod_debug.c vmod_debug.c
......
...@@ -14,7 +14,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_std ...@@ -14,7 +14,7 @@ vmod_srcdir = $(top_srcdir)/lib/libvmod_std
vmodtool = $(top_srcdir)/lib/libvcl/vmodtool.py vmodtool = $(top_srcdir)/lib/libvcl/vmodtool.py
vmod_LTLIBRARIES = libvmod_std.la 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 = \ libvmod_std_la_SOURCES = \
vmod_std.c \ vmod_std.c \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment