aboutsummaryrefslogtreecommitdiff
path: root/tls
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2020-09-20 13:37:52 +0900
committerBrent Cook <busterb@gmail.com>2020-10-04 03:50:18 -0500
commit5a29b0472d5d0d1aa9936e430a87299fdb0f17ba (patch)
tree288f41dc8dbe79fc1beba2352b992f5734f859eb /tls
parentfe42a8011b25797afa48cf0359c7e2753b2ece5f (diff)
downloadportable-5a29b0472d5d0d1aa9936e430a87299fdb0f17ba.tar.gz
portable-5a29b0472d5d0d1aa9936e430a87299fdb0f17ba.tar.bz2
portable-5a29b0472d5d0d1aa9936e430a87299fdb0f17ba.zip
Link crypto and ssl object files directly instead of static library
- Output object files list variable for libcrypto and libssl to .mk file. - Include object files list variable .mk from tls/Makefile - Link .lo files directly instead of static library for libtls.
Diffstat (limited to 'tls')
-rw-r--r--tls/Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/tls/Makefile.am b/tls/Makefile.am
index c4790a4..4cea3a2 100644
--- a/tls/Makefile.am
+++ b/tls/Makefile.am
@@ -1,5 +1,8 @@
1include $(top_srcdir)/Makefile.am.common 1include $(top_srcdir)/Makefile.am.common
2 2
3-include $(abs_top_builddir)/crypto/libcrypto_la_objects.mk
4-include $(abs_top_builddir)/ssl/libssl_la_objects.mk
5
3lib_LTLIBRARIES = libtls.la 6lib_LTLIBRARIES = libtls.la
4 7
5EXTRA_DIST = VERSION 8EXTRA_DIST = VERSION
@@ -7,9 +10,11 @@ EXTRA_DIST += CMakeLists.txt
7EXTRA_DIST += tls.sym 10EXTRA_DIST += tls.sym
8 11
9libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -export-symbols $(top_srcdir)/tls/tls.sym 12libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -export-symbols $(top_srcdir)/tls/tls.sym
10libtls_la_LDFLAGS += $(abs_top_builddir)/ssl/.libs/libssl.a 13libtls_la_LIBADD = $(libcrypto_la_objects)
11libtls_la_LDFLAGS += $(abs_top_builddir)/crypto/.libs/libcrypto.a 14libtls_la_LIBADD += $(libcompat_la_objects)
12libtls_la_LIBADD = $(PLATFORM_LDADD) 15libtls_la_LIBADD += $(libcompatnoopt_la_objects)
16libtls_la_LIBADD += $(libssl_la_objects)
17libtls_la_LIBADD += $(PLATFORM_LDADD)
13 18
14libtls_la_CPPFLAGS = $(AM_CPPFLAGS) 19libtls_la_CPPFLAGS = $(AM_CPPFLAGS)
15if OPENSSLDIR_DEFINED 20if OPENSSLDIR_DEFINED