diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2020-09-20 13:37:52 +0900 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2020-10-04 03:50:18 -0500 |
commit | 5a29b0472d5d0d1aa9936e430a87299fdb0f17ba (patch) | |
tree | 288f41dc8dbe79fc1beba2352b992f5734f859eb /ssl | |
parent | fe42a8011b25797afa48cf0359c7e2753b2ece5f (diff) | |
download | portable-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 'ssl')
-rw-r--r-- | ssl/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ssl/Makefile.am b/ssl/Makefile.am index dded59f..4c4e594 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am | |||
@@ -6,6 +6,15 @@ EXTRA_DIST = VERSION | |||
6 | EXTRA_DIST += CMakeLists.txt | 6 | EXTRA_DIST += CMakeLists.txt |
7 | EXTRA_DIST += ssl.sym | 7 | EXTRA_DIST += ssl.sym |
8 | 8 | ||
9 | CLEANFILES = libssl_la_objects.mk | ||
10 | |||
11 | EXTRA_libssl_la_DEPENDENCIES = libssl_la_objects.mk | ||
12 | |||
13 | libssl_la_objects.mk: Makefile | ||
14 | @echo "libssl_la_objects= $(libssl_la_OBJECTS)" \ | ||
15 | | sed 's/ */ $$\(abs_top_builddir\)\/ssl\//g' \ | ||
16 | > libssl_la_objects.mk | ||
17 | |||
9 | libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym | 18 | libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym |
10 | libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD) | 19 | libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD) |
11 | 20 | ||