From b6368af502fea9d7d23326d65ce167b0ed4f87b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 29 Dec 2014 23:56:22 +0000 Subject: [PATCH] Re-add $(RT_LIBS) where needed. --- t/Makefile.am | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/t/Makefile.am b/t/Makefile.am index 8dcf3d9..d0f6165 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -54,51 +54,51 @@ t_rfc4648_LDADD = $(libt) $(libenc) # libcryb-digest TESTS += t_md2 t_md4 t_md5 -t_md2_LDADD = $(libt) $(libdigest) -t_md4_LDADD = $(libt) $(libdigest) -t_md5_LDADD = $(libt) $(libdigest) +t_md2_LDADD = $(libt) $(libdigest) $(RT_LIBS) +t_md4_LDADD = $(libt) $(libdigest) $(RT_LIBS) +t_md5_LDADD = $(libt) $(libdigest) $(RT_LIBS) if WITH_OPENSSL TESTS += t_md4_openssl t_md5_openssl t_md4_openssl_SOURCES = t_md4.c t_md4_openssl_CFLAGS = $(OPENSSL_INCLUDES) $(OPENSSL_CFLAGS) -t_md4_openssl_LDADD = $(libt) $(OPENSSL_LDADD) +t_md4_openssl_LDADD = $(libt) $(OPENSSL_LDADD) $(RT_LIBS) t_md5_openssl_SOURCES = t_md5.c t_md5_openssl_CFLAGS = $(OPENSSL_INCLUDES) $(OPENSSL_CFLAGS) -t_md5_openssl_LDADD = $(libt) $(OPENSSL_LDADD) +t_md5_openssl_LDADD = $(libt) $(OPENSSL_LDADD) $(RT_LIBS) endif if WITH_RSAREF TESTS += t_md2_rsaref t_md5_rsaref t_md2_rsaref_SOURCES = t_md2.c t_md2_rsaref_CFLAGS = $(RSAREF_INCLUDES) $(RSAREF_CFLAGS) -t_md2_rsaref_LDADD = $(libt) $(RSAREF_LDADD) +t_md2_rsaref_LDADD = $(libt) $(RSAREF_LDADD) $(RT_LIBS) t_md5_rsaref_SOURCES = t_md5.c t_md5_rsaref_CFLAGS = $(RSAREF_INCLUDES) $(RSAREF_CFLAGS) -t_md5_rsaref_LDADD = $(libt) $(RSAREF_LDADD) +t_md5_rsaref_LDADD = $(libt) $(RSAREF_LDADD) $(RT_LIBS) endif TESTS += t_sha1 t_sha224 t_sha256 t_sha384 t_sha512 -t_sha1_LDADD = $(libt) $(libdigest) -t_sha224_LDADD = $(libt) $(libdigest) -t_sha256_LDADD = $(libt) $(libdigest) -t_sha384_LDADD = $(libt) $(libdigest) -t_sha512_LDADD = $(libt) $(libdigest) +t_sha1_LDADD = $(libt) $(libdigest) $(RT_LIBS) +t_sha224_LDADD = $(libt) $(libdigest) $(RT_LIBS) +t_sha256_LDADD = $(libt) $(libdigest) $(RT_LIBS) +t_sha384_LDADD = $(libt) $(libdigest) $(RT_LIBS) +t_sha512_LDADD = $(libt) $(libdigest) $(RT_LIBS) if WITH_OPENSSL TESTS += t_sha1_openssl t_sha224_openssl t_sha256_openssl t_sha384_openssl t_sha512_openssl t_sha1_openssl_SOURCES = t_sha1.c t_sha1_openssl_CFLAGS = $(OPENSSL_INCLUDES) $(OPENSSL_CFLAGS) -t_sha1_openssl_LDADD = $(libt) $(OPENSSL_LDADD) +t_sha1_openssl_LDADD = $(libt) $(OPENSSL_LDADD) $(RT_LIBS) t_sha256_openssl_SOURCES = t_sha256.c t_sha256_openssl_CFLAGS = $(OPENSSL_INCLUDES) $(OPENSSL_CFLAGS) -t_sha256_openssl_LDADD = $(libt) $(OPENSSL_LDADD) +t_sha256_openssl_LDADD = $(libt) $(OPENSSL_LDADD) $(RT_LIBS) t_sha224_openssl_SOURCES = t_sha224.c t_sha224_openssl_CFLAGS = $(OPENSSL_INCLUDES) $(OPENSSL_CFLAGS) -t_sha224_openssl_LDADD = $(libt) $(OPENSSL_LDADD) +t_sha224_openssl_LDADD = $(libt) $(OPENSSL_LDADD) $(RT_LIBS) t_sha384_openssl_SOURCES = t_sha384.c t_sha384_openssl_CFLAGS = $(OPENSSL_INCLUDES) $(OPENSSL_CFLAGS) -t_sha384_openssl_LDADD = $(libt) $(OPENSSL_LDADD) +t_sha384_openssl_LDADD = $(libt) $(OPENSSL_LDADD) $(RT_LIBS) t_sha512_openssl_SOURCES = t_sha512.c t_sha512_openssl_CFLAGS = $(OPENSSL_INCLUDES) $(OPENSSL_CFLAGS) -t_sha512_openssl_LDADD = $(libt) $(OPENSSL_LDADD) +t_sha512_openssl_LDADD = $(libt) $(OPENSSL_LDADD) $(RT_LIBS) endif # libcryb-hash