[gnutls-devel] [PATCH] Add LIB_CLOCK_GETTIME to crywrap

Gustavo Zacarias gustavo at zacarias.com.ar
Thu Dec 26 17:13:03 CET 2013


It's used indirectly thus causing build breakage on versions of glibc
where it's defined in librt rather than libc directly.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 src/crywrap/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/crywrap/Makefile.am b/src/crywrap/Makefile.am
index ca41259..d86ca55 100644
--- a/src/crywrap/Makefile.am
+++ b/src/crywrap/Makefile.am
@@ -29,3 +29,4 @@ bin_PROGRAMS = crywrap
 
 crywrap_SOURCES = crywrap.c primes.h crywrap.h
 crywrap_LDADD = ../../lib/libgnutls.la $(LIBIDN_LIBS) #../../gl/libgnu.la 
+crywrap_LDADD += $(LIB_CLOCK_GETTIME)
-- 
1.8.3.2




More information about the Gnutls-devel mailing list