[master] 3aecdc8a8 build: Manage libvcc with libtool
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Sep 20 09:15:07 UTC 2021
commit 3aecdc8a8076c409ab47a906f9ded5ed9c279128
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Sep 20 10:50:39 2021 +0200
build: Manage libvcc with libtool
It's still a static library, but the build is slightly more uniform.
diff --git a/bin/varnishd/Makefile.am b/bin/varnishd/Makefile.am
index e70b43de9..4524dd229 100644
--- a/bin/varnishd/Makefile.am
+++ b/bin/varnishd/Makefile.am
@@ -175,7 +175,7 @@ varnishd_CFLAGS = \
varnishd_LDFLAGS = -export-dynamic
varnishd_LDADD = \
- $(top_builddir)/lib/libvcc/libvcc.a \
+ $(top_builddir)/lib/libvcc/libvcc.la \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libvgz/libvgz.a \
@JEMALLOC_LDADD@ \
diff --git a/lib/libvcc/Makefile.am b/lib/libvcc/Makefile.am
index b6b8bca3e..dc6037f2b 100644
--- a/lib/libvcc/Makefile.am
+++ b/lib/libvcc/Makefile.am
@@ -6,9 +6,9 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/include \
-I$(top_builddir)/include
-noinst_LIBRARIES = libvcc.a
+noinst_LTLIBRARIES = libvcc.la
-libvcc_a_SOURCES = \
+libvcc_la_SOURCES = \
vcc_compile.h \
vcc_namespace.h \
vcc_token_defs.h \
More information about the varnish-commit
mailing list