From 1c023edb2a3488906d0b8435fcc4dc7f925bda3a Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 18 Oct 2020 22:14:03 -0500 Subject: modify nc build to link libcompat objects directly Rather than assuming the static version of libcrypto exists for pulling in the compatibility functions, link the compat objects directly. This modifies the object file generation script a bit to handle the empty-case properly as well. --- crypto/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 97a84e1..e32ca96 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am @@ -99,10 +99,10 @@ libcrypto_la_objects.mk: Makefile | sed 's/ */ $$\(abs_top_builddir\)\/crypto\//g' \ > libcrypto_la_objects.mk @echo "libcompat_la_objects= $(libcompat_la_OBJECTS)" \ - | sed 's/ */ $$\(abs_top_builddir\)\/crypto\//g' \ + | sed 's/compat\// $$\(abs_top_builddir\)\/crypto\/&/g' \ >> libcrypto_la_objects.mk @echo "libcompatnoopt_la_objects= $(libcompatnoopt_la_OBJECTS)" \ - | sed 's/ */ $$\(abs_top_builddir\)\/crypto\//g' \ + | sed 's/compat\// $$\(abs_top_builddir\)\/crypto\/&/g' \ >> libcrypto_la_objects.mk libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym -- cgit v1.2.3-55-g6feb