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:
@@ -6,6 +6,15 @@ EXTRA_DIST = VERSION
|
||||
EXTRA_DIST += CMakeLists.txt
|
||||
EXTRA_DIST += ssl.sym
|
||||
|
||||
CLEANFILES = libssl_la_objects.mk
|
||||
|
||||
EXTRA_libssl_la_DEPENDENCIES = libssl_la_objects.mk
|
||||
|
||||
libssl_la_objects.mk: Makefile
|
||||
@echo "libssl_la_objects= $(libssl_la_OBJECTS)" \
|
||||
| sed 's/ */ $$\(abs_top_builddir\)\/ssl\//g' \
|
||||
> libssl_la_objects.mk
|
||||
|
||||
libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined -export-symbols $(top_srcdir)/ssl/ssl.sym
|
||||
libssl_la_LIBADD = $(abs_top_builddir)/crypto/libcrypto.la $(PLATFORM_LDADD)
|
||||
|
||||
|
Reference in New Issue
Block a user