From 14b0be4353e5c4464cb9f61e419a2f8caf8757d0 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 1 May 2012 11:09:50 +0200 Subject: Fix test modules linking errors * And display warning messages in the debug output --- p11-kit/Makefile.am | 2 ++ p11-kit/util.c | 1 + 2 files changed, 3 insertions(+) diff --git a/p11-kit/Makefile.am b/p11-kit/Makefile.am index b1243c1..cba556e 100644 --- a/p11-kit/Makefile.am +++ b/p11-kit/Makefile.am @@ -68,6 +68,8 @@ libp11_kit_testable_la_CFLAGS = \ $(NULL) libp11_kit_compat_la_SOURCES = \ + debug.c debug.h \ + messages.c \ util.c util.h \ $(top_srcdir)/common/compat.c \ $(top_srcdir)/common/compat.h diff --git a/p11-kit/util.c b/p11-kit/util.c index 033c775..89ecc40 100644 --- a/p11-kit/util.c +++ b/p11-kit/util.c @@ -190,6 +190,7 @@ _p11_message (const char* msg, ...) if (print_messages) fprintf (stderr, "p11-kit: %s\n", buffer); + _p11_debug_message (DEBUG_LIB, "message: %s", buffer); store_message_buffer (buffer, length); } -- cgit v1.1