summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-09-06 15:52:40 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2017-09-06 15:52:40 (GMT)
commite04cbf1a8dabaec4aa2259f646b696756b1b0ad3 (patch)
tree1fce65f6a50402ddc6fd77ac94b719e30a80fe71
parent7a0e5d32c20f964e7716b69c9b1a28dd006f123a (diff)
downloaddatamash-e04cbf1a8dabaec4aa2259f646b696756b1b0ad3.zip
datamash-e04cbf1a8dabaec4aa2259f646b696756b1b0ad3.tar.gz
datamash-e04cbf1a8dabaec4aa2259f646b696756b1b0ad3.tar.bz2
build: link with external crypto libraries if needed
Datamash uses gnulib's sha* modules, which allow linking with OpenSSL for increased performance (using ./configure --with-openssl=yes). Adjust the LDADD flags to link with the external libraries. Reported in http://lists.gnu.org/archive/html/bug-datamash/2017-08/msg00007.html . * Makafile.am (datamash_LDADD): Add $(LIB_CRYPTO)
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 563a4fe..13c4ee6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,6 +56,7 @@ datamash_LDADD = \
$(LDEXPL_LIBM) \
$(LIBICONV) \
$(LIBINTL) \
+ $(LIB_CRYPTO) \
$(ROUND_LIBM) \
$(ROUNDL_LIBM) \
$(SQRT_LIBM) \