summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <gitlab@bebt.de>2019-04-14 15:25:31 +0000
committerTim Rühsen <tim.ruehsen@gmx.de>2019-04-14 15:25:31 +0000
commit6e3568dfa2ccb3ac4a80b5ca759736d474407e1d (patch)
tree8eafc7ac311913e6ecbf45dc9ed45818d1ddd517
parent6e7b589068f9c5e3b73fa704ebf1eb6b91a5b074 (diff)
downloadgnutls-6e3568dfa2ccb3ac4a80b5ca759736d474407e1d.tar.gz
Fix link error with gcc-9
Use LDADD instead of LDFLAGS to link test cipher-openssl-compat against libcrypto. This fixes a build error with gcc9 which passes the linker option --as-needed by default. Signed-off-by: Andreas Metzler <ametzler@bebt.de>
-rw-r--r--tests/slow/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/slow/Makefile.am b/tests/slow/Makefile.am
index 2672c1b2f6..7e8e4650ca 100644
--- a/tests/slow/Makefile.am
+++ b/tests/slow/Makefile.am
@@ -53,7 +53,7 @@ check_PROGRAMS = $(ctests) cipher-test cipher-api-test cipher-override mac-overr
TESTS = $(ctests) test-ciphers.sh override-ciphers test-hash-large.sh crypto test-ciphers-api.sh
if HAVE_LIBCRYPTO
-cipher_openssl_compat_LDFLAGS = $(LDADD) $(LIBCRYPTO)
+cipher_openssl_compat_LDADD = $(LDADD) $(LIBCRYPTO)
dist_check_SCRIPTS += test-ciphers-openssl.sh
check_PROGRAMS += cipher-openssl-compat