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.
This commit is contained in:
kinichiro
2020-09-20 13:37:52 +09:00
committed by Brent Cook
parent fe42a8011b
commit 5a29b0472d
4 changed files with 31 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ endif
EXTRA_DIST = nc.1
EXTRA_DIST += CMakeLists.txt
nc_LDFLAGS = $(abs_top_builddir)/crypto/.libs/libcompat.a
nc_LDFLAGS = $(abs_top_builddir)/crypto/.libs/libcrypto.a
nc_LDADD = $(abs_top_builddir)/tls/libtls.la
nc_LDADD += $(PLATFORM_LDADD) $(PROG_LDADD)