From 4f0f6ebd1aa1038923e08af6730a32cde3202f62 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 13 Dec 2022 04:34:25 -0600 Subject: Build a static test library with all symbols Build and link a special test library rather than assuming that the build has static libraries available. --- tls/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tls') diff --git a/tls/Makefile.am b/tls/Makefile.am index 4d31c92..160359c 100644 --- a/tls/Makefile.am +++ b/tls/Makefile.am @@ -9,6 +9,15 @@ EXTRA_DIST = VERSION EXTRA_DIST += CMakeLists.txt EXTRA_DIST += tls.sym +CLEANFILES = libtls_la_objects.mk + +EXTRA_libtls_la_DEPENDENCIES = libtls_la_objects.mk + +libtls_la_objects.mk: Makefile + @echo "libtls_la_objects= $(libtls_la_OBJECTS)" \ + | sed 's/ */ $$\(abs_top_builddir\)\/tls\//g' \ + > libtls_la_objects.mk + libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -export-symbols $(top_srcdir)/tls/tls.sym libtls_la_LIBADD = $(libcrypto_la_objects) libtls_la_LIBADD += $(libcompat_la_objects) -- cgit v1.2.3-55-g6feb