aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2020-10-18 22:14:03 -0500
committerBrent Cook <busterb@gmail.com>2020-10-20 08:46:20 -0500
commit1c023edb2a3488906d0b8435fcc4dc7f925bda3a (patch)
tree4b8a7a9f38be7d3f82f11a007576166d0b600af5 /crypto
parent4722dcf746a81d2e648aa8fe31799867776dfb79 (diff)
downloadportable-1c023edb2a3488906d0b8435fcc4dc7f925bda3a.tar.gz
portable-1c023edb2a3488906d0b8435fcc4dc7f925bda3a.tar.bz2
portable-1c023edb2a3488906d0b8435fcc4dc7f925bda3a.zip
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.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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
99 | sed 's/ */ $$\(abs_top_builddir\)\/crypto\//g' \ 99 | sed 's/ */ $$\(abs_top_builddir\)\/crypto\//g' \
100 > libcrypto_la_objects.mk 100 > libcrypto_la_objects.mk
101 @echo "libcompat_la_objects= $(libcompat_la_OBJECTS)" \ 101 @echo "libcompat_la_objects= $(libcompat_la_OBJECTS)" \
102 | sed 's/ */ $$\(abs_top_builddir\)\/crypto\//g' \ 102 | sed 's/compat\// $$\(abs_top_builddir\)\/crypto\/&/g' \
103 >> libcrypto_la_objects.mk 103 >> libcrypto_la_objects.mk
104 @echo "libcompatnoopt_la_objects= $(libcompatnoopt_la_OBJECTS)" \ 104 @echo "libcompatnoopt_la_objects= $(libcompatnoopt_la_OBJECTS)" \
105 | sed 's/ */ $$\(abs_top_builddir\)\/crypto\//g' \ 105 | sed 's/compat\// $$\(abs_top_builddir\)\/crypto\/&/g' \
106 >> libcrypto_la_objects.mk 106 >> libcrypto_la_objects.mk
107 107
108libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym 108libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -export-symbols crypto_portable.sym